setTriggerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Deleted incorrect note and merged 2nd note ("EAST G", etc))
Line 9: Line 9:
| Sets the type of action processed by the trigger after activation (no action, a waypoints switch or an end of mission):
| 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". |= Description
* "NONE"
* "EAST G" - Guarded by OPFOR
* "WEST G" - Guarded by BLUFOR
* "GUER G" - Guarded by Independent
* "SWITCH" - Switch waypoints/break loop (see [[ArmA:_Mission_Editor#Triggers_Mode_.28F3.29|Triggers]])
* "END1" - End #1
* "END2" - End #2
* "END3" - End #3
* "END4" - End #4
* "END5" - End #5
* "END6" - End #6
* "LOOSE" - Lose
* "WIN" - (not found in ArmA)
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 31: Line 44:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 23 Feb 2007</dd>
 
<dt class="note">'''[[User:Dr_Eyeball|Dr_Eyeball]]'''</dt><dd class="note">
'''"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 [http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=100d47b30fa6168b58a3a4aa1e8012b4;act=ST;f=7;t=22118 here]. (Fix explanation or ref's as needed.)
</dd>
<dd class="notedate">Posted on 23 Feb 2007</dd>
<dt class="note">'''[[User:Dr_Eyeball|Dr_Eyeball]]'''</dt><dd class="note">
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".
</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 04:27, 21 April 2009

-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
  • "WEST G" - Guarded by BLUFOR
  • "GUER G" - Guarded by Independent
  • "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
  • "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:
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

Bottom Section