Activity

From Valve Developer Community

This article is a stub. You can help by adding to it (http://developer.valvesoftware.com/w/index.php?title=Activity&action=edit).

The advantage to using activities is that the modeler can bind multiple sequences to one activity name, thus getting some variation in the animations the model plays without programmer intervention. For example, the modeler could create three idle animations and bind them all to ACT_IDLE. The programmer only has to write code saying to play ACT_IDLE, and one of the three idle sequences will be chosen.