objSwitchHandler

objects / Gimmicks / General / objSwitchHandler
prtAlwaysActive > objSwitchHandler

Description

Variables

NameValueDescription
myFlag0

what id to use to connect to other switches

flagOnLength30

How many frames it takes to turn on, set to 1 for instant

flagOffLength30

How many frames it takes to turn off, set to 1 for instant

binary0

binary means there's no delay when turning the flag on/off. 0 = neither, 1 = instant on, 2 = instant off

stayActive0

0 = stays on/off, 1 = turns on, 2 = turns off

note: the object will need to keep setting active to the oposite setting of this otherwise it will immediately turn off

inversefalse

activefalse

variable names in bold are safe to set in creation code.

Inherited from prtAlwaysActive

NameValueDescription
frozen0