| 06-29-2009, 12:12 AM | #2 |
Well, if the corpses of the dying units decay in those 20 seconds or are used up for raise/animate dead then the "triggering unit" no longer exists and that is your problem, you can't get it's unit type. |
| 06-29-2009, 09:57 AM | #3 |
Ok so i figured it out.. the problem was that the creep didn't decay... i compared them to another type of creeps in another area wich had the same trigger and worked perfectly... so the undead creeps didn't decay and the other ones did.. so i changed it to Does decay and it works :] Any way what does decay mean? |
| 06-29-2009, 03:19 PM | #4 |
It means that the unit leaves a corpse behind, which then decays (disappears over time). If a unit doesn't leave a corpse behind, then it is removed from memory the moment it dies (it is also removed if it is killed by an artillery attack, which is hardcoded to explode the unit, thus leaving no corpse behind), otherwise it is removed when the corpse finishes decaying. |
