| 03-13-2005, 07:52 PM | #1 |
A simple question I hope When a unit dies, I may want the unit to play its death animation as usual, but it doesnt decay, so its still looks like the unit and not the skeleton or fleshy stuff. I tried pausing the unit after it died (didnt think it would work, and viola, it didnt) I tried created a corpse of the dying unit type but that didnt work either (especially for the skeleton) could anyone hint or tell me how to accomplish this? edit: Im looking at the gameplay constants right now on decay so I THINK this will solve my problem. edit: it did for the most part - but sometimes when a unit died while fighting, they just froze there in their attacking stance or during an attack. |
| 03-13-2005, 08:00 PM | #2 |
Guest | Go in advanced => game constants (or something like that) There is a variable called the decay rate and cadaver disappearance or something (I don't have english editor :-/) |
| 03-13-2005, 08:02 PM | #3 |
it did for the most part - but sometimes when a unit died while fighting, they just froze there in their attacking stance or during an attack. |
| 03-17-2005, 06:33 PM | #4 |
Guest | Somewhere in trigger editor, you can make a corpse that stays there. I havent done it myself so i cant be more specific, but MAYBE you will find your answers there. |
| 03-17-2005, 07:05 PM | #5 |
Did u try Unit-Create pernament corpse Its skeletal for 8 seconds but then becomes fleshy pernamently |
| 03-17-2005, 07:07 PM | #6 |
use this trigg. Code:
Event: A unit dies Actions: Unit - Create 1 unit type of dying unit at position of dying unit for (place a player here) Animation - play last created unit's death animation if you want to remove the dying unit, add Unit - Remove dying unit |
| 03-17-2005, 09:57 PM | #7 |
This will probably work better... yours just plays the dying animation rather then actually killing the unit, btw. Code:
perminent corpse
Events
Unit - A unit Dies
Conditions
Actions
Unit - Create a permanent Skeletal (Unit-type of (Dying unit)) corpse for Player 1 (Red) at (Position of (Dying unit)) facing (Facing of (Dying unit)) degreesThat should work pretty well. |
| 03-17-2005, 10:37 PM | #8 | |
Quote:
|
