setTriggerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 44: Line 44:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
Is: _'''trigger setTriggerType "WEST G"''' really defining a "GUARDED BY WEST" trigger ? It seems not working in ArmA 2 v. 1.02
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
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 16:44, 15 July 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

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

Bottom Section