setTriggerActivation: 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|SETTRIGGERACTIVATION]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETTRIGGERACTIVATION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETTRIGGERACTIVATION]]


| ofpr |= Game name


<h2 style="color:#000066">'''''trigger'' setTriggerActivation ''[by, type, repeating]'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Defines the trigger activation type. The first argument - who activates trigger (side, radio, vehicle or group member): "NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER" or "MEMBER". The second argument - when is it activated (presention or detection by the specified side): "PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D". The third argument - whether the activation is repeating. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger '''setTriggerActivation''' [by, type, repeating] |= Syntax


'''trigger:''' [[Object]]
|p1= trigger: [[Object]] |= Parameter 1
   
'''[by, type, repeating]:''' [[Array]]


'''Type of returned value:'''


[[Nothing]]
|p2= [by, type, repeating]: [[Array]] |= Parameter 2


'''Compatibility:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger setTriggerActivation ["WEST", "EAST D", true]</pre> |= Example 1
____________________________________________________________________________________________


Version 1.86 required.
|  |= See also


'''Description:'''
}}


Defines the trigger activation type.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


The first argument - who activates trigger (side, radio, vehicle or group member): "NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER" or "MEMBER".
<!-- Note Section END -->
</dl>


The second argument - when is it activated (presention or detection by the specified side): "PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D".
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETTRIGGERACTIVATION]]
The third argument - whether the activation is repeating.
[[Category:Scripting Commands OFP Elite |SETTRIGGERACTIVATION]]
 
[[Category:Scripting Commands ArmA|SETTRIGGERACTIVATION]]
 
'''Example:'''
 
trigger '''setTriggerActivation''' ["WEST", "EAST D", true]

Revision as of 00:32, 2 August 2006

Hover & click on the images for description

Description

Description:
Defines the trigger activation type. The first argument - who activates trigger (side, radio, vehicle or group member): "NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER" or "MEMBER". The second argument - when is it activated (presention or detection by the specified side): "PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D". The third argument - whether the activation is repeating.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerActivation [by, type, repeating]
Parameters:
trigger: Object
[by, type, repeating]: Array
Return Value:
Nothing

Examples

Example 1:
trigger setTriggerActivation ["WEST", "EAST D", true]

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