HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Question

07-11-2004, 08:44 PM#1
Arkidas
How can I make it so that unit dies but its full body is still there,like in creature of the nights Tom falled when he was walking in the armor. I want to make it like the unit is sitting :8
07-11-2004, 08:53 PM#2
BlueSpine
This can be achieved by using triggers. Specifically, the Action in question, Unit - Suspend Corpse Decay will solve your problem.
07-11-2004, 08:58 PM#3
Arkidas
Well yes this is what I did but it seems it doesnt work,I make the unit die first and then wait 2 sec and then this Unit - Suspend corpse decay for John 0044 <gen>
07-11-2004, 09:15 PM#4
BlueSpine
Wait longer than 2 seconds. As the text says in the Action, it will not suspend until the death animation is completed. If John is a Peasant, his death animation is 3.444seconds. A Knight's is 5.100 seconds. So if John is a Peasant, wait 4 seconds then preform the Action.
07-11-2004, 09:30 PM#5
Arkidas
I tried 5sec and theres still just bones left,John is a Male villager.
07-11-2004, 09:44 PM#6
BlueSpine
Oh, Fleshy corpse? Make a new trigger:

Events: Every 1.00 seconds of the game
Conditions:
Actions: (Animation - Play Unit Animation) Play John 0044's Decay Flesh animation.

Tada.
07-11-2004, 10:33 PM#7
Arkidas
Thank you! You deserve a good reputation point :D
07-11-2004, 11:45 PM#8
th15
Screw that, you don't need triggers for this.

Advanced>Gameplay Constants...>Decay Time - Flesh

That field controls how long the flesh of a corpse stays before it disappears.