Motion Play BB

Signature

void motionplay_bb(int flags, int timeFrame); //id:0x00bb

Description

Does the same as the Motion Play function, but with this one, the time frame can also be set.

Arguments

Time Frame

The higher the time frame, the slower the motion will play up until the motion's return point. After that, the motion will play at default speed.

For example, if in a motion a character sits down, waits a bit and then stands up again, the return point would at the frame just before they get up. So the slowdown effect only works in the early parts of the motion. If the value is too high, the motion return point may never be reached in which case the motion will just return too early.

1 frame equals 33 ms. If 0 is passed, it equals calling the Motion Play function.

Last updated