setTriggerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 24: Line 24:


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".
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:'''
'''Example:'''


trigger '''setTriggerType''' "END1"
trigger '''setTriggerType''' "END1"

Revision as of 21:20, 4 July 2006


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"