|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.TriggersAdd (
nPlayer as Integer,
nTriggerID as Integer,
nTriggerPos as Long
) as enumErrorCodes
|
|
[C++]
short control.TriggersAdd (
short nPlayer,
short nTriggerID,
long nTriggerPos
);
|
|
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.
|
|
nTriggerPos
|
Number representing the trigger position; it's effective value depends upon the value of the ScaleUnits property.
If this position should be already assigned to an existing trigger, an error code would be returned.
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|