Remarks
Removes an existing trigger from 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.TriggersRemove (
nPlayer as Integer,
nTriggerID as Integer
) as enumErrorCodes
|
|
[C++]
short control.TriggersRemove (
short nPlayer,
short nTriggerID
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
nTriggerID
|
Number representing the identifier of the trigger to remove. If this parameter is set to -1 all the existing triggers will be removed.
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|