Game Development Community

Animation Tags?

by Dusty Monk · in Torque Game Engine · 07/12/2006 (12:37 pm) · 3 replies

Do torque animations support the notion of animation event tags? That is, I want to set tags in the animation to fire events. These might be damage events, or play sound events, or other fun things. Looking through the api I see plenty of commands to load, play, pause, and prioritize animations, but nothing that seems to support this notion.

If the answer to the above is no, I'd be most appreciative is someone could point me to the right spots in code to at least start looking at, so I can graft my own system in.

(Or if you've done a similar system already, and can point me to that resource, that'd be awesome too.)

Thanks,

D.

About the author

Dusty Monk is founder and president of Windstorm Studios, an independant game studio. Formerly a sr. programmer at Ensemble Studios, Dusty has worked on AAA titles such as Age of Empires II & III, and Halo Wars.


#1
07/12/2006 (12:45 pm)
I'd suggest looking at how the footprints triggers are done. This is all crazy voodoo magic to me, but I know it can be done =)
#2
07/12/2006 (1:28 pm)
As midhir said, have a look at triggers. They're used for exactly what you're describing, the code dealing with footprints are definitely the place to start.
#3
07/12/2006 (7:32 pm)
Awesome. I'll start diggin into footprints tonight. Thanks for the tip.