3D Lingo Dictionary > C-D > currentLoopState

 

currentLoopState

Syntax

member(whichCastmember).model(whichModel).keyframePlayer.currentLoopState
member(whichCastmember).model(whichModel).bonesPlayer.currentLoopState

Description

3D keyframePlayer and bonesPlayer modifier property; indicates whether the motion being executed by the model repeats continuously (TRUE) or plays to the end and is replaced by the next motion in the modifier's playlist (FALSE).

The default setting for this property is the value of the looped parameter of the play() command that initiated playback of the motion or the value of the queue() command that added the motion to the modifier's playlist. Changing the currentLoopState property also changes the value of the #looped property of the motion's entry in the modifier's playlist.

Example

This statement causes the motion that is being executed by the model named Monster to repeat continuously.

member("NewAlien").model("Monster").keyframePlayer.currentLoopState = TRUE

See also

loop (cast member property), play(), queue(), playlist