Activity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
'''Activities''' are [[Wikipedia:Indirection|indirected]] names for animations (or collections of animations). The single activity <code>ACT_MP_WALK</code> might trigger the animation ''walk_cycle'' in one model, but either the animation ''hover_glide'' or ''hover_glide_02'' in another.
'''Activities''' are [[Wikipedia:Indirection|indirected]] names for animations or collections of animations.


If there are multiple animations mapped to the same activity, they will be chosen between at random depending on their assigned weight.
The single activity <code>ACT_MP_WALK</code> might trigger the animation ''walk_cycle'' in one model, and either the animation ''hover_glide'' or ''hover_glide_02'' in another (chosen between at random based on assigned weight).


== See also ==
== See also ==

Revision as of 16:20, 24 April 2010

Activities are indirected names for animations or collections of animations.

The single activity ACT_MP_WALK might trigger the animation walk_cycle in one model, and either the animation hover_glide or hover_glide_02 in another (chosen between at random based on assigned weight).

See also