setTriggerType: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (notes moved to talk, seealso,) |
m (template:command argument fix) |
||
Line 24: | Line 24: | ||
* "LOOSE" - Lose //it is not a typo on the wiki, it is indeed misspelt in the game engine. | * "LOOSE" - Lose //it is not a typo on the wiki, it is indeed misspelt in the game engine. | ||
* "WIN" - (not found in ArmA) | * "WIN" - (not found in ArmA) | ||
|= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| trigger '''setTriggerType''' action |= | | trigger '''setTriggerType''' action |SYNTAX= | ||
|p1= trigger: [[Object]] |= | |p1= trigger: [[Object]] |PARAMETER1= | ||
|p2= action: [[String]] |= | |p2= action: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_trigger [[setTriggerType]] "END1"</code> |= | |x1= <code>_trigger [[setTriggerType]] "END1"</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[triggerType]], [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]], [[createGuardedPoint]] |= | | [[triggerType]], [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]], [[createGuardedPoint]] |SEEALSO= | ||
}} | }} |
Revision as of 14:48, 7 April 2019
Description
- Description:
- Sets the type of action processed by the trigger after activation (no action, a waypoints switch or an end of mission):
- "NONE"
- "EAST G" - Guarded by OPFOR - use createGuardedPoint instead!
- "WEST G" - Guarded by BLUFOR - use createGuardedPoint instead!
- "GUER G" - Guarded by Independent - use createGuardedPoint instead!
- "SWITCH" - Switch waypoints/break loop (see Triggers)
- "END1" - End #1
- "END2" - End #2
- "END3" - End #3
- "END4" - End #4
- "END5" - End #5
- "END6" - End #6
- "LOOSE" - Lose //it is not a typo on the wiki, it is indeed misspelt in the game engine.
- "WIN" - (not found in ArmA)
- 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:
- triggerTypecreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutcreateGuardedPoint
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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Activators
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters