Toggle
Turn the Behaviour of the Object on or off using Messages.
Last updated
Turn the Behaviour of the Object on or off using Messages.
Last updated
Copyright Β© 2012- 2023 The Sandbox. All Rights Reserved.
Build Singleplayer & Multiplayer Logic - about [SP] or [MP] behaviours or components
Allows to switch the object's behaviour on, off, or toggle on/off when a message is received
Includes a setting for its initial state
Make enemies peaceful until you touch their treasure
Grant access to new areas - turn on or off a platform, unlock a door, etc.
Control the player's ability to trigger certain dialogue depending on their progression in an Experience (quest dialogue states)
Inputs: One or more on message One or more off message One or more toggle on/off message | Outputs: Object's behaviour switches on Object's behaviour switches off Object's behaviour switches to the opposite state |
Options | Details |
---|---|
Turn ON Message - Defines the message(s) required to turn on the behaviour. | |
Turn OFF Message - Defines the message(s) required to turn off the behaviour. | |
Toggle Message - Defines the message(s) required to toggle ON/OFF the behaviour. | |
Initial Behaviour State - Defines if the asset Behaviour is ON (true) or OFF (false) at the start of the game. |