3D Lingo Dictionary > O-S > playNext()

 

playNext()

Syntax

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, playlist