Good day fellow modders.
I have a question about animations and zscript.
To put it simple, I'll give you my idea:
Let's say that a Custom made cacodemon is flying around... Me as player manage to take it down.
How can I make that while the custom caco is falling play a custom animation AND right after the caco touches the ground.... the same caco plays an entire different animation?. I have this idea of the caco bouncing briefly in the floor before is finally dead.
how can I code that?.
calling specific animation when custom monster touches the ground
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Re: calling specific animation when custom monster touches the ground
https://zdoom.org/wiki/Actor_states, Crash state, is it what you are looking for?
Re: calling specific animation when custom monster touches the ground
Hmmm.... maybe!. I'll take a look at it.
Thank you so much for your answer.
Thank you so much for your answer.