setTriggerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETTRIGGERTYPE]]
[[Category:Scripting Commands ArmA|SETTRIGGERTYPE]]


<new command not populated>


<h2 style="color:#000066">'''''trigger'' setTriggerType ''action '''''</h2>


<h2 style="color:#000066">''''' setTriggerType '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''trigger:''' [[Object]]
 
'''action:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 1.86 required.


'''Description:'''
'''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:'''
'''Example:'''
trigger '''setTriggerType''' "END1"

Revision as of 17:26, 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"