Motion Loop Frame
Signature
Description
Used before functions like Std Motion Play and Motion Play to set the end frame of the next motion of a character (current script) and also the motion's start frame when looped.
Generally, the Motion Loop function is used afterwards to set the actual loop. If it isn't, the motion will only be played once, but with a specific end frame.
It's usually used in cases where you want a character to perform only parts of a motion. For example, if in a motion, a character sits down, waits a bit and then gets up again. You could find out the start and end frame of the point where the character is sitting and then loop that.
Augments
Start Frame
The start frame of the looped motion.
This argument is ignored when playing the motion for the first time, and is only used once the motion is looped via Motion Loop(1).
End Frame
The end frame of the motion.
Notes
The start frame of this function doesn't always need to equal the one of the Motion Start Frame function. There are also cases where the motion could start on frame x and then loop between frame y and z.
Last updated