ISwitch (sometimes broken) when i have to specify a width

Ok i found the problem (or why it works for some zScripts).
Tho i explicitly enabled the ISwitch by specifically writing ,0,32 (0: enabled, 32 width)
I still have to do an IEnable for the ISwitches as the ,0 doesn’t seem to be enough.
then i can specify the width without it being disabled on the first press of the switch.

Just in case someone has that issue as well.

Have a nice day,

Source link

Trả lời

Email của bạn sẽ không được hiển thị công khai.