Game Development Community

Help! - Unmount & animation sequHelp! - Unmount & animation sequ

by Kimberly Unger · in Technical Issues · 09/18/2003 (9:12 am) · 1 replies

I need to play an animation sequence before I unmount a weapon. Currently the sequence is a part of the weapon animation and not a seperate file. I've looked at the state sequences and can not find one that works when the weapon is unmounted like when it is mounted. Is there such a thing and I've been looking in the wrong place? If not can anyone give me some help?

#1
07/23/2007 (2:55 am)
Sorry for a very late response.
I think its not possible (initialy) to do this, i think this will need some modification to the engine. the problem i think would be that when you dismount, the image is gone, so it can no longer play animations. you could however make a new state "disMount" in every image, which can play the animation, sounds etc. and then when its done, through stateScript, actually dismount. however this will also need the modifications so you can manually set imageStates (to disMount in this case). and this will have the disadvantage that it will overRide the stateAllowImageChange. you could however check the state you are currently in to get this working properly again.