setTriggerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality added)
(notes moved to talk, seealso,)
Line 12: Line 12:


* "NONE"
* "NONE"
* "EAST G" - Guarded by OPFOR
* "EAST G" - Guarded by OPFOR - '''use [[createGuardedPoint]] instead!'''
* "WEST G" - Guarded by BLUFOR
* "WEST G" - Guarded by BLUFOR - '''use [[createGuardedPoint]] instead!'''
* "GUER G" - Guarded by Independent
* "GUER G" - Guarded by Independent - '''use [[createGuardedPoint]] instead!'''
* "SWITCH" - Switch waypoints/break loop (see [[ArmA:_Mission_Editor#Triggers_Mode_.28F3.29|Triggers]])
* "SWITCH" - Switch waypoints/break loop (see [[ArmA:_Mission_Editor#Triggers_Mode_.28F3.29|Triggers]])
* "END1" - End #1
* "END1" - End #1
Line 36: Line 36:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_trigger setTriggerType "END1"</pre> |= Example 1
|x1= <code>_trigger [[setTriggerType]] "END1"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[triggerType]], [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]]  |= See also
| [[triggerType]], [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]], [[createGuardedPoint]]  |= See also


}}
}}
Line 46: Line 46:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on July 15, 2009 - 15:44 (CEST)
<dt class="note">'''[[User:FabrizioT|FabrizioT]]'''
<dd class="note">
Is: _'''trigger setTriggerType "WEST G"''' really defining a "GUARDED BY WEST" trigger ?
It seems not working in ArmA 2 v. 1.02.
See also my note here: http://community.bistudio.com/wiki/triggerType
<dd class="notedate">Posted on July 15, 2009 - 18:21 (CEST)
<dt class="note">'''[[User:WGL.Q|kju]]'''
<dd class="note">
Seems unlikely. Check these examples used by BI missions:<br>
http://pastebin.jonasscholz.de/13


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 14:59, 12 November 2016

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

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