Trigger
Triggers are highly useful Logic Items that check if a certain trigger object is within their boundaries or not. This trigger item can also be players! Triggers are also used for many creative workarounds.
Triggers do not register On Enter and On Exit events when toggled by a Visibility Activator. If you're having issues with some events not triggering and you're using a Visibility Activator try to animate the position of the Trigger below or above the play area instead of disabling it.
Properties
🔸Is Sticky
This means the trigger will no longer activate anymore once it was triggered for the first time.
🔸Output Value
Numerical value that gets sent to a lock when the trigger field gets activated.
🔸Triggers By Player
When checked, players that enter the trigger area can trigger it. When not checked, the trigger ignores players entering the trigger area.
This will cause the Trigger to cause actions when a player enters or leaves the trigger area. Good for timed animations, for traps or for selective teleport!
🔸Triggers By All Players
When checked, the trigger will activate once all the players are in the trigger area. When not checked, the trigger will activate when only one player enters the trigger area.
If this is checked Exit Actions will trigger when one of the players exits the trigger.
This property is visible only if the Triggers By Players is checked
🔸Triggers By
🔸Enter Actions
Things that get activated when a Trigger prop or player enters the trigger area. This can also be linked to a lock, to create "pressure plates" on the floor!
If you want a trigger to be active only as long as the trigger item is inside, add the desired effect (e.g. a lock) here. The trigger will then send the value written in the Output Value
(default is 1) when the object enters and a 0 if it leaves. Do not add the lock to "on leave" then! else it always gets a 1 and never a 0.
🔸Exit Actions
Things that get activated when a Trigger Item leaves the trigger area. Here the value written in the Output Value
(default is 1) is sent when the trigger object or player leaves the trigger zone.
If Triggers By All Players
is checked, the Exit Actions will be triggered when one of the players leaves the trigger.
Triggers that target a lock will ignore the lock's password check delay.