Remarks
Obtains the number of existing triggers set into the given player
See the How to add Triggers and Cue Points to a player section for further details about triggers.
Syntax
[Visual Basic]
control.TriggersGetCount (
nPlayer as Integer
) as Long
|
|
[C++]
long control.TriggersGetCount (
short nPlayer
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the player owning the triggers
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
>= 0
|
The number of existing triggers
|
|