Difference between revisions of "LoopGroup"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(CS 1.0)
imported>Fella
Line 18: Line 18:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Animation Functions]]
[[Category: Animation Functions]]

Revision as of 11:45, 23 January 2008

Syntax:

 LoopGroup <GroupName>, 2, [flags] 

Example:

 LoopGroup Idle2 
 LoopGroup Idle2, 1 

Plays the animation group defined by GroupName. The animation will be looped the number of times specified, and then return to the Idle animation. Optional flags can be used to start the group in different ways.

Flags

0 = Normal - The current animation will finish it's full cycle, and the new animation will start from its beginning.
1 = Immediate Start - The current animation will stop regardless of the frame it is on, and the new animation will start from its beginning.
2 = Immediate Loop - The current animation will stop regardless of the frame it is on, and the new animation will start at the beginning of its loop cycle.

See Also