Copyright © 2001-2018 MultiMedia Soft

TriggerReached event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the song playback reaches an existing trigger position.

During playback this event is not generated if the current playback position should be moved, through a call to the SeekSound or ForwardSound methods, to a position exceeding the one of the trigger itself.

 

See the How to add Triggers and Cue Points to a player section for further details about triggers.

 

 

Syntax

 

[Visual Basic]

TriggerReached (

ByVal nPlayer as Integer,

ByVal nTriggerID as Integer

)


 

[C++]

void TriggerReached (

short nPlayer,

short nTriggerID

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

nTriggerID

Number representing the trigger identifier