Toggle
Turn the Behaviour of the Object on or off using Messages.
Last updated
Was this helpful?
Turn the Behaviour of the Object on or off using Messages.
Last updated
Was this helpful?
COPY/PASTE PARAMETERS
New in GM 0.11! Right click on a behaviour or component to copy. Then open an object, add the same behaviour or component, and right click it to paste identical parameter settings.
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
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.