Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "ANIM"

From Creatures Wiki
Jump to navigation Jump to search
(formatting+simplify (imo))
m
Line 4: Line 4:
 
Syntax: ''ANIM [frames(ints) 255(optional) restart(int optional)]''
 
Syntax: ''ANIM [frames(ints) 255(optional) restart(int optional)]''
  
Standalone command. <br />
+
Standalone command.
Starts an animation sequence based on ''frames'', displaying the frame number specified for [[FRAT]] ticks (defaulting to 1), then moving on to the next number. 255 sends the animation back to ''restart'', or, if that was not specified, the first number in the sequence.<br />
+
 
 +
Starts an animation sequence based on ''frames'', displaying the frame number specified for [[FRAT]] ticks (defaulting to 1), then moving on to the next number. 255 sends the animation back to ''restart'', or, if that was not specified, the first number in the sequence.
  
 
==Examples==
 
==Examples==

Revision as of 11:07, 7 January 2006

ANIM is a CAOS command used to animate an agent.

Usage

Syntax: ANIM [frames(ints) 255(optional) restart(int optional)]

Standalone command.

Starts an animation sequence based on frames, displaying the frame number specified for FRAT ticks (defaulting to 1), then moving on to the next number. 255 sends the animation back to restart, or, if that was not specified, the first number in the sequence.

Examples

ANIM being used to animate frames 1-10:

ANIM [1 2 3 4 5 6 7 8 9 10]

Being used to loop frames 0-5:

ANIM [0 1 2 3 4 5 255]

Being used to animate frames 1-10, then loop from 6:

ANIM [1 2 3 4 5 6 7 8 9 10 255 6]

See also