setTriggerType: Difference between revisions
Jump to navigation
Jump to search
Dr Eyeball (talk | contribs) No edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| trigger '''setTriggerType''' action |= Syntax | | trigger '''setTriggerType''' "action" |= Syntax | ||
|p1= trigger: [[Object]] |= Parameter 1 | |p1= trigger: [[Object]] |= Parameter 1 | ||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_trigger setTriggerType "END1"</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:46, 31 August 2007
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:
- createTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeout
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
- Posted on 23 Feb 2007
- Dr_Eyeball
- "SWITCH" type: It appears to be related to activating the setTriggerTimeout values. It may be a prerequisite to using Timeouts and Countdowns, as found in many missions. Found a partial explanation here. (Fix explanation or ref's as needed.)
- Posted on 23 Feb 2007
- Dr_Eyeball
- In the ArmA editor, the trigger dialog also includes action Types for: "Guarded by East", "Guarded by West" and "Guarded by Resistance" in the list and does not include "WIN".