setTriggerActivation: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
(reformatted arguments) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Defines the trigger activation type. | | Defines the trigger activation type. | ||
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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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= | |p2= by: [[String]] - Who activates trigger. Can be "NONE" or<br> | ||
''Side': "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY"<br> | |||
| | ''Radio'': "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET"<br> | ||
| | ''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 15:43, 16 July 2010
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