ZBrushCentral

New Zscript : 5 button = 2 (keys)

hi… newbie here

this is my second Zscript… just to test it.
feature :
for ( move, scale, rotate button ) cycle in 1 key
for (Transform:Edit and draw button) cycle in 1 key


Just load the script, then play with the shortcut .


GyroToogle.zip (2.5 KB)


Question
I was play with ZsphereAdd command.
When i test the script,
If the value of ( x or y or z ) reached to 16.00,
the node will stop adding size on it
Anyone have the solution related to this problem, or maybe this is the limitation inside Zbrush?


Script Sample here : (this is sample only , i dont remember the code)

[Vardef,Zlast,[zsphereget,8]]
[Vardef,Zradius,[zsphereget,4,Zlast]]
[Vardef,X,[zsphereget,1,Zlast]][Vardef,Y,[zsphereget,2,Zlast]]
[Vardef,Z,[zsphereget,3,Zlast]]

[ibutton,Zadd,“Zadd”,
[varadd,zlast,1]
[zspheredit,[zsphereset,x+1,y+1,z+1,Zradius,Zlast]1]
,13]

Attachments

GyroToogle.zip (2.48 KB)