loadanim
Jump to navigation
Jump to search
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:
Parameter | Type | Description |
---|---|---|
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
.