Sandbox 2 Manual
ContentsIndexHome
PreviousUpNext
Trigger

Trigger

 

What are the trigger entities?

The trigger entities are used to active events in a level. 

The triggers entities can be found in Rollup Bar > Entity 


Benefits

The AICheckInBox trigger is used to check if an AI entity is inside a specific area.

 

The Area Trigger is activated when the player enters an area. 

The Cinematic Trigger is used if the player looks at a certain spot. 

The Delay Trigger is used to trigger things not at once but a bit later when the player enters or leaves and area. 

The Multiple Trigger is used to execute an action when multiple conditions are triggered. 

The Proximitry Trigger is used when certain entities enter a box. 

AI CheckinBox


DimX

Specifies how big the trigger is (x-axis) 

DimY

Specifies how big the trigger is (y-axis) 

DimZ

Specifies how big the trigger is (z-axis) 

Species

Specifies which species can activate the trigger. 

TriggerOnce

Disables the trigger after it has been triggered once. Other AI Check-in Box Entity Parameters 

Click here for the Miscellaneous Parameters reference guide, here for the Material Layers guide, here for the Miscellaneous Entity Parameters guide, here for the Entity Links guide and here for the Entity Events guide. 

 

Area Trigger

First create an area shape then select with the PICK function the area trigger entity. 



Enabled

Turns the entity on or off 

InvehicleOnly

Sets up that the trigger can only be activated when player is inside vehicle. 

OnlyLocalPlayer

Sets the trigger to be only triggerable by the local player entity. 

OnlyPlayer

Sets the trigger to be only triggerable by players entities. 

ScriptCommand

Executes a script command when the trigger has been activated 

Species

Specifies which species can activate the trigger. 

TriggerOnce

Disables the trigger after it has been triggered once. Other Area Trigger Entity Parameters 

Click here for the Miscellaneous Parameters reference guide, here for the Material Layers guide, here for the Miscellaneous Entity Parameters guide, here for the Entity Links guide and here for the Entity Events guide. 

 

Cinematic Trigger

 


CheckTimer If the player looks the trigger for the amount of time specified in this field (specified in seconds) then the trigger is activated. 

DimX

Specifies how big the trigger is (x-axis) 

DimY

Specifies how big the trigger is (y-axis) 

DimZ

Specifies how big the trigger is (z-axis) 

MaxDistance

Sets up the maximum distance the trigger can be away in order for it to get triggered when the player looks at it. 

Min Distance

Sets up the minimum distance the trigger must be away in order for it to get triggered when the player looks at it. 

MinVisibleTime

If the player looks the trigger for the amount of time specified in this field (specified in seconds) then the trigger is activated. 

ScriptCommand

Executes a script command when the trigger has been activated 

Sequence

Plays the trackview sequence with the name specified in here. 

TriggerOnce

Disables the trigger after it has been triggered once. 

ZoomMinimum

Sets up the zoom level at which the player must be in order to enable the trigger. Other Cinematic Entity Parameters 

Click here for the Miscellaneous Parameters reference guide, here for the Material Layers guide, here for the Miscellaneous Entity Parameters guide, here for the Entity Links guide and here for the Entity Events guide. 

 

Delay Trigger


Enabled

Turns the entity on or off 

PlaySequence

Plays the trackview sequence with the name specified in here. 

ReferenceName

Here a reference name for the trigger can be entered. 

ScriptCommand

Executes a script command when the trigger has been activated 

TriggerOnce

Disables the trigger after it has been triggered once. Other Delay Trigger Entity Parameters 

Click here for the Miscellaneous Parameters reference guide, here for the Material Layers guide, here for the Miscellaneous Entity Parameters guide, here for the Entity Links guide and here for the Entity Events guide. 

 

MultipleTrigger

 


Enabled

Turns the trigger on or off 

NumInputs

Sets up how many inputs the trigger has. 

PlaySequence

Plays the trackview sequence with the name specified in here. 

ScriptCommand

Executes a script command when the trigger has been activated Other Multiple Trigger Entity Parameters 

Click here for the Miscellaneous Parameters reference guide, here for the Material Layers guide, here for the Miscellaneous Entity Parameters guide, here for the Entity Links guide and here for the Entity Events guide. 

 

Proximity Trigger


ActivateWithUseButton

Specifies if the trigger is activated by pressing use 

DimX

Specifies how big the trigger is (x-axis)

DimY

Specifies how big the trigger is (y-axis)

DimZ

Specifies how big the trigger is (z-axis) 

Enabled

Specifies if the trigger can be activated or not. 

EnterDelay

Sets up a delay (in seconds) before the enter node of the trigger is activated. 

ExitDelay

Sets up a delay (in seconds) before the exit node of the trigger is activated. 

InvehicleOnly

Sets up that the trigger can only be activated when player is inside vehicle. 

KillOnTrigger

Disables the trigger when it has been activated. 

OnlyAI

Sets the trigger to be only triggerable by AI entities. 

OnlyMyPlayer

Sets the trigger to be only triggerable by the my player entity. 

OnlyOneEntity

Sets the trigger to be only triggerable by one entity (first one who triggers it has to leave it in order to be triggerable again) 

OnlyPlayer

Sets the trigger to be only triggerable by player entities. 

OnlySelectedEntity

Sets the trigger to be only triggerable by the entity with the name specified in this field. 

OnlySpecialAI

Sets the trigger to be only triggerable by the special AI entities. 

PlaySequence

Plays the trackview sequence with the name specified in here. 

ReferenceName

Here a reference name for the trigger can be entered. 

ScriptCommand

Executes a script command when the trigger has been activated 

TextInstruction

Prints a text on the hud when the trigger has been activated. 

TriggerOnce

Disables the trigger after it has been triggered once. Other Proximity Trigger Entity Parameters 

Click here for the Miscellaneous Parameters reference guide, here for the Material Layers guide, here for the Miscellaneous Entity Parameters guide, here for the Entity Links guide and here for the Entity Events guide. 

Copyright © 2008 Crytek GmbH. All rights reserved.