setTriggerActivation: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
<h2 style="color:#000066">''''' setTriggerActivation '''''</h2> | <h2 style="color:#000066">'''''trigger'' setTriggerActivation ''[by, type, repeating]'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
'''trigger:''' [[Object]] | |||
'''[by, type, repeating]:''' [[Array]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Nothing]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 1.86 required. | |||
'''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. | |||
'''Example:''' | '''Example:''' | ||
trigger '''setTriggerActivation''' ["WEST", "EAST D", true] |
Revision as of 16:18, 4 July 2006
<new command not populated>
trigger setTriggerActivation [by, type, repeating]
Operand types:
trigger: Object
[by, type, repeating]: Array
Type of returned value:
Compatibility:
Version 1.86 required.
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.
Example:
trigger setTriggerActivation ["WEST", "EAST D", true]