Description
Returns the trigger type.
Important
The trigger could be local or remote but the result returned by this command will be for the trigger type set up locally on the client that executed the command. See createTrigger for more info.
Syntax
triggerType trigger
Parameters:
trigger: Object
Returns: String - can be one of the following (see setTriggerType for details):
"NONE""EAST G""WEST G""GUER G""SWITCH""END1""END2""END3""END4""END5""END6""LOOSE""WIN"Can return"ERROR"in case of an invalid trigger type (due to Mission.sqm manual edit or other type of data corruption)
Examples
Example 1
_type = triggerType tr1;