Set Auto Relax

Signature

void setautorelax(int state); //id:0x0266

Description

Sets whether a character (current script) should return to playing their idle motion after playing a non-looped motion (e.g. laughing).

If enabled, it avoids having to play the idle motion every time after another motion is played as otherwise the character will just freeze at the last motion.

Arguments

State

Determines whether the character will return to an idle state after playing a motion (1) or not (0).

Notes

The auto relax will work regardless of whether the idle motion of the character was played with functions like Std Motion Play before. However, it only takes effect after at least one motion was played with the character.

Last updated