User Guide
playNext() (3D) 455
Example
This statement plays the next queued sound in sound channel 2:
-- Lingo syntax
sound(2).playNext()
// JavaScript syntax
sound(2).playNext();
See also
pause() (Sound Channel), play() (Sound Channel), Sound Channel,stop() (Sound
Channel)
playNext() (3D)
Usage
member(whichMember).model(whichModel).bonesPlayer.playNext()
member(whichMember).model(whichModel).keyframePlayer.playNext()
Description
3D #keyframePlayer and #bonesPlayer modifier command; initiates playback of the next
motion in the playlist of the model’s
#keyframePlayer or #bonesPlayer modifier. The
currently playing motion, which is the first entry in the playlist, is interrupted and removed from
the playlist.
If motion blending is enabled, and there are two or more motions in the playlist, blending
between the current motion and the next one in the playlist will begin when
playNext()
is called.
Example
This statement interrupts the motion currently being executed by model 1 and initiates playback
of the next motion in the playlist:
member("scene").model[1].bonesPlayer.playnext()
See also
blend (3D), playlist