ScriptEvent:setToggle

From Mod Wiki
Revision as of 18:08, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

boolean toggle -- Set toggle on or off

Result

None.

Supported By

idMover_Binary
idDoor

Functionality

Sets the toggle state for the entity. If toggle mode is enabled, the entity will toggle between the two states, rather than returning to the initial state after a period of time.