Activity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
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 ==


*[[$sequence]]
*[[$sequence]]
*[[Activity_List|Activity List]]


[[Category:Glossary]]
[[Category:Source]]
[[Category:Animation]]
[[Category:Animation]]

Latest revision as of 01:46, 9 April 2023

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