| 04-08-2004, 12:40 AM | #1 |
yeah for soem reason i cant replicate this....i did it before in another map, i had certain heros not display the generic game message "blah, the blah (level blah) has died", but i cant get it to work again for the map im working on. i dont see it in game constants, or triggers or anything. can anyone point me in the right direction? |
| 04-08-2004, 01:07 AM | #2 |
Theres 2 ways that I know of. Go to gameplay constants and there IS a field in there that edits what the messege says at the very bottom(dont think you can get rid of the sound though). OR you can make a trigger like this: Code:
Event: A unit Dies Conditions: ((Dying Unit) is a Hero) equal to True (Owner of (Dying unit)) Not Equal to Neautral Passive Actions: Change ownership of (Dying unit) to Neutral Passive and Retain color Wait (ReviveTime) seconds Change ownership of (Dying unit) to (Previous owner) and Change color |
| 04-08-2004, 02:02 AM | #3 |
If you use the first method and want to get rid of the sounds, you can remove them altogether by inserting a dummy into your map for each sound and renaming them to the path of the sound. You've got to find the sound path though. |
| 04-08-2004, 03:48 AM | #4 | |
Quote:
anyways, what would "ReviveTime" be in this case? |
| 04-08-2004, 05:38 AM | #5 |
For ReviveTime, it could be any amount of time you want. If the hero automatically revives after a set time limit, I suggest: Code:
set ReviveTime(Player number of(Owner of dying unit)) = (Real((Hero level of (Dying unit)))) * 5) But of course if you dont want them to revive then just stop after you change the owner the first time. |
| 04-08-2004, 05:56 AM | #6 |
oh i forgot to mention, these are actualy AoS army units, they shouldnt ever revive, and they get removed after decaying. :/ |
