POSE
From Creatures Wiki
POSE is a CAOS command used to define the sprites used by an agent or part of a compound agent.
Its argument or return value is relative to BASE if that is set.
[edit] Usage
Syntax: POSE sprite (integer)
Sets current sprite of the target agent (TARG) or part of a compound agent (PART) to sprite. If performed while an ANIM is in progress, this will interrupt it.
Syntax: POSE
Returns, as an integer, the current sprite being displayed by TARG/PART, or -1 if PART is not valid. If an ANIM is in progress this will still display the sprite being displayed.
[edit] Examples
Set pose to sprite 2:
pose 2
Increment the current pose by 1:
setv va00 pose addv va00 1 pose va00


