setTriggerType

From Bohemia Interactive Community
Revision as of 21:20, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


trigger setTriggerType action


Operand types:

trigger: Object

action: String

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Sets the type of action processed by the trigger after activation (no action, a waypoints switch or an end of mission): "NONE", "SWITCH", "END1", "END2", "END3", "END4", "END5", "END6", "LOOSE" or "WIN".


Example:

trigger setTriggerType "END1"