setTriggerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETTRIGGERTYPE]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETTRIGGERTYPE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETTRIGGERTYPE]]


| ofpr |= Game name


<h2 style="color:#000066">'''''trigger'' setTriggerType ''action '''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| 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". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger '''setTriggerType''' action |= Syntax


'''trigger:''' [[Object]]
|p1= trigger: [[Object]] |= Parameter 1


'''action:''' [[String]]
|p2= action: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger setTriggerType "END1"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


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".
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETTRIGGERTYPE]]
 
[[Category:Scripting Commands OFP Elite |SETTRIGGERTYPE]]
'''Example:'''
[[Category:Scripting Commands ArmA|SETTRIGGERTYPE]]
 
trigger '''setTriggerType''' "END1"

Revision as of 23:33, 1 August 2006

Hover & click on the images for description

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".
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerType action
Parameters:
trigger: Object
action: String
Return Value:
Nothing

Examples

Example 1:
trigger setTriggerType "END1"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section