setTriggerType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}}") |
||
Line 54: | Line 54: | ||
[[Category:Scripting Commands OFP Elite |SETTRIGGERTYPE]] | [[Category:Scripting Commands OFP Elite |SETTRIGGERTYPE]] | ||
[[Category:Scripting Commands Armed Assault|SETTRIGGERTYPE]] | [[Category:Scripting Commands Armed Assault|SETTRIGGERTYPE]] | ||
[[Category:Command_Group: | [[Category:Command_Group:_Triggers|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 08:36, 11 August 2020
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 - (It is better to use createGuardedPoint instead)
- "WEST G" - Guarded by BLUFOR - (It is better to use createGuardedPoint instead)
- "GUER G" - Guarded by Independent - (It is better to 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" - (Meant to say LOSE but is misspelt in the game engine).
- "WIN" - (Not in editor. Valid enum name but when set, defaults to "END1")
- 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:
- triggerTypecreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutcreateGuardedPointtriggerIntervalsetTriggerIntervalenableSimulationsimulationEnabled
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 Armed Assault
- Command Group: Triggers
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters