Std Motion Variation

Signature

void stdmotionvariation(int variationId); //id:0x01aa

Description

Sets the standard motion variation of a character (current script).

Every character model has several standard motions like idling, talking, laughing etc. which are all loaded via the Std Motion Read function and then played via the Std Motion Play function.

Now, there are also cases, where a model has different variations for these motions (e.g idling while standing, sitting, ...). In some cases, these are outsourced into an entirely different motion group (e.g. one file per weapon type). In other cases, they are just listed as a variation in the same motion group. This function is used if the latter case applies.

There is no easy way to know beforehand which models have standard motion variations, so you will have to find them yourself via trial and error or by taking a look at the original ebp scripts.

Arguments

Variation

The variation identifier of the standard motion.

Last updated