triggerType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add "ERROR" return value) |
Lou Montana (talk | contribs) m (Fix) |
||
Line 16: | Line 16: | ||
|gr1= Triggers | |gr1= Triggers | ||
|descr= Returns trigger type | |descr= Returns the trigger type. | ||
{{Feature|important| | {{Feature|important| | ||
Line 27: | Line 27: | ||
|p1= trigger: [[Object]] | |p1= trigger: [[Object]] | ||
|r1= [[String]] - one of: | |r1= [[String]] - can be one of the following (see [[setTriggerType]] for details): | ||
{{Columns|8| | {{Columns|8| | ||
* {{hl|"NONE"}} | * {{hl|"NONE"}} |
Latest revision as of 15:02, 28 April 2023
Description
- Description:
- Returns the trigger type.
- Groups:
- Triggers
Syntax
- Syntax:
- triggerType trigger
- Parameters:
- trigger: Object
- Return Value:
- String - can be one of the following (see setTriggerType for details):
Can return "ERROR" in case of an invalid trigger type (due to Mission.sqm manual edit or other type of data corruption)
- "NONE"
- "EAST G"
- "WEST G"
- "GUER G"
- "SWITCH"
- "END1"
- "END2"
- "END3"
- "END4"
- "END5"
- "END6"
- "LOOSE"
- "WIN"
Examples
- Example 1:
Additional Information
- See also:
- setTriggerType
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