script code to redefine a gui control, it can be used to extend limits or change step value for examples (take care, it could crash wz with some op, normally limits have a reason to be...)
I put the code here as I never remember the syntax.
for example here I redefine the center parameter of rotate op (bitmap), because it's limited to -4..4
- Code: Select all
gui {
float myCenter[2](-100..100 step 0.001);
}
Center = myCenter;
you can now use myCenter gui to control center (limits are now -100..100)