Author Topic: How do you get a button to change functions? ex; turn a light on, then off  (Read 645 times)


Ctrl-o ingame go into controls tab and then click on a control to change it.

If you mean the game controls, use the Options button on the main menu or Ctrl+O in-game and then edit them.

If you mean an event button, use the Brick->setEventEnabled and Brick->toggleEventEnabled events. Inputting a set of numbers into the events will let you activate and de-activate certain events on the brick - toggleEventEnabled [0 1 2 3] will toggle the first four events of the brick on or off depending on what they previously were, with the checkbox next to the event number.

If you mean the game controls, use the Options button on the main menu or Ctrl+O in-game and then edit them.

If you mean an event button, use the Brick->setEventEnabled and Brick->toggleEventEnabled events. Inputting a set of numbers into the events will let you activate and de-activate certain events on the brick - toggleEventEnabled [0 1 2 3] will toggle the first four events of the brick on or off depending on what they previously were, with the checkbox next to the event number.
Translated:
Bold = Event Number
Italic = Delay
Underlined = En/Dis-abled.

0 (0) (Enabled)  OnActivate>Self>ToggleEventEnabled>(1 2)
1 (0) (Enabled)  OnActivate>Self>SetLight>PlayerLight
2 (0) (Disabled) OnActivate>Self>SetLight>NONE