Script:loadanim

From Arx Libertatis Wiki
Jump to navigation Jump to search

This article is a stub - you can help by expanding it. See the Wiki FAQ.

The loadanim script command is used to load an animation into a slot for an entity.

Usage

loadanim [-p] <animslot> <file>

Context: Any Entity

Flags:

 -p: Load an animation for the player instead of the calling entity

Parameters:

ParameterTypeDescription
animslot string The animation slot to modify
file path Relative path to the animation file to use

For NPC entities or when using the -p flag the path is relative to graph/obj3d/anims/npc.
Otherwise it is relative to graph/obj3d/anims/fix_inter.