Changing sequences
by Thomas Stankevich · in Torque Game Engine · 09/06/2008 (8:35 am) · 2 replies
Hello. I'm working on changing some of the standard player sequences dynamically. In other words, I'm making a game where the player will show a different run animation if he is about to die. I was looking around and couldn't find anything about it. Any help will be good.
Thanks.
Thanks.
#2
09/06/2008 (2:15 pm)
The standard movement-related animations are called ActionAnimation's in C++, and they are assigned in the Player method pickActionAnimation. There is where to look. There are also some enums/defines in player.h and player.cpp that list the sequence name of all action-animations, so you would need to add your new ones to those lists.
Torque Owner Mike Rowley
Mike Rowley
How you would do that I don't know.