Remarks
Verifies if the given trigger is enabled or disabled.
See the How to add Triggers and Cue Points to a player section for further details about triggers.
Syntax
[Visual Basic]
Public Function TriggersIsEnabled (
nPlayerIndex as Int16,
nTriggerID as Int16
) as Boolean
|
|
[C#]
public bool TriggersIsEnabled (
Int16 nPlayerIndex,
Int16 nTriggerID
);
|
|
[C++]
public: bool TriggersIsEnabled (
Int16 nPlayerIndex,
Int16 nTriggerID
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
nTriggerID
|
Number representing the identifier of the new trigger. If this identifier should be already assigned to another trigger, an error code would be returned.
|
Return value
Mnemonic constant
|
Meaning
|
false
|
Trigger is disabled
|
true
|
Trigger is enabled
|
|