setTriggerActivation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
(reformatted arguments)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Defines the trigger activation type.
| Defines the trigger activation type.  


*First argument - who activates trigger (side, radio, vehicle or group member):
See [[ArmA:_Mission_Editor#Triggers_Mode_.28F3.29|ArmA:Mission Editor - Triggers]] for a thorough overview of triggers and its fields for activation, effects, etc.|= Description
 
"NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER", "WEST SEIZED", "EAST SEIZED" or "GUER SEIZED".
*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".
*Third argument - whether the activation is repeating. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= trigger: [[Object]] |= Parameter 1
|p1= trigger: [[Object]] - Trigger object |= Parameter 1
|p2= [by, type, repeating]: [[Array]] |= Parameter 2
|p2= by: [[String]] - Who activates trigger. Can be "NONE" or<br>
|p3= by: [[String]] |= Parameter 3
''Side': "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY"<br>
|p4= type: [[String]] |= Parameter 4
''Radio'': "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"<br>
|p5= repeating: [[Boolean]]) See above |= Parameter 5
''Object'': "STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER"<br>
''Status'': "WEST SEIZED", "EAST SEIZED" or "GUER SEIZED"|= Parameter 3
|p3= type: [[String]] -  How trigger is it activated. Can be:<br>
''Presence'': "PRESENT", "NOT PRESENT"<br>
''Detection'': "WEST D", "EAST D", "GUER D" or "CIV D"
|= Parameter 4
|p4= repeating: [[Boolean]] - Activation can happen repeatedly |= Parameter 5


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 16:43, 16 July 2010

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Defines the trigger activation type. See ArmA:Mission Editor - Triggers for a thorough overview of triggers and its fields for activation, effects, etc.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerActivation [by, type, repeating]
Parameters:
trigger: Object - Trigger object
by: String - Who activates trigger. Can be "NONE" or
Side': "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY"
Radio: "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"
Object: "STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER"
Status: "WEST SEIZED", "EAST SEIZED" or "GUER SEIZED"
type: String - How trigger is it activated. Can be:
Presence: "PRESENT", "NOT PRESENT"
Detection: "WEST D", "EAST D", "GUER D" or "CIV D"
repeating: Boolean - Activation can happen repeatedly
Return Value:
Nothing

Examples

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

Additional Information

See also:
createTriggersetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerTypetriggerAttachVehicletriggerAttachObject

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