Difference between revisions of "Switch"

From Retro Modding Wiki
Jump to: navigation, search
(Created page with "A Switch is a script object that can be in one of two states: Open or Closed. * Send an "Open" message to set its state to Open * Send a "Close" message to set its state to C...")
 
(No difference)

Latest revision as of 18:02, 23 June 2017

A Switch is a script object that can be in one of two states: Open or Closed.

  • Send an "Open" message to set its state to Open
  • Send a "Close" message to set its state to Closed
  • Send a "SetToZero" message to activate the switch.
  • When activated, the switch will send messages using the "Closed" state if it's closed, or the "Open" state if it's open.