Description :
This instruction assigns a sound play to the current key.
Parameters :
-
ObjectID of the sound object.
-
Automatic channel selection :
CHANNEL_FREE
Or channel number (You MUST use different channels if you want to play sounds simultaneously) :
CHANNEL_1
CHANNEL_2
CHANNEL_3
CHANNEL_4
CHANNEL_5
CHANNEL_6
CHANNEL_7
CHANNEL_8
CHANNEL_9
CHANNEL_10
CHANNEL_11
CHANNEL_12
CHANNEL_13
CHANNEL_14
CHANNEL_15
-
SOUND_LOOP (the sound will be played in a loop)
SOUND_ONE_SHOT (the sound will be played once)
Notes :
The current key gets defined with the instruction track.key.set ().
Examples :
|