Script:loadanim: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ScriptCommandPage | {{ScriptCommandPage | ||
|description=load an animation into a slot | |description=load an animation into a slot |
Revision as of 11:03, 17 June 2022
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
.