setTriggerActivation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (categorized)
mNo edit summary
Line 9: Line 9:
| Defines the trigger activation type.
| Defines the trigger activation type.


*The first argument - who activates trigger (side, radio, vehicle or group member):
*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" or "MEMBER".
"NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER" or "MEMBER".
*The second argument - when is it activated (presention or detection by the specified side):
*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".
"PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D".
*The third argument - whether the activation is repeating. |= Description
*Third argument - whether the activation is repeating. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| trigger '''setTriggerActivation''' [by, type, repeating] |= Syntax
| trigger '''setTriggerActivation''' [activator, type, repeating] |= Syntax


|p1= trigger: [[Object]] |= Parameter 1
|p1= trigger: [[Object]] |= Parameter 1




|p2= [by, type, repeating]: [[Array]] |= Parameter 2
|p2= [activator, type, repeating]: [[Array]] ([[String]],[[String]],[[Boolean]]) |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 00:48, 14 January 2007

-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" or "MEMBER".
  • 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 [activator, type, repeating]
Parameters:
trigger: Object
[activator, type, repeating]: Array (String,String,Boolean)
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

Bottom Section