setTriggerActivation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 38: Line 38:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
I had a strange experience with this command. It seemed it responded randomized with "WEST" as type, sometimes it activated, sometimes not under the same conditions. "ANY" works better. Just watch out.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 03:45, 10 January 2008

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

Description

Description:
Defines the trigger activation type.
  • First argument - who activates trigger (side, radio, vehicle or group member):
"NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER", "MEMBER", "WEST SEIZED", "EAST SEIZED" or "GUER SEIZED".
  • Second argument - when is it activated (presention or detection by the specified side):
"PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D".
  • Third argument - whether the activation is repeating.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerActivation ["by", "type", repeating]
Parameters:
trigger: Object
Array (String,String,Boolean) See above
Return Value:
Nothing

Examples

Example 1:
_trigger setTriggerActivation ["WEST", "EAST D", true]

Additional Information

See also:
createTriggersetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerType

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

I had a strange experience with this command. It seemed it responded randomized with "WEST" as type, sometimes it activated, sometimes not under the same conditions. "ANY" works better. Just watch out.

Bottom Section