| 08-04-2003, 06:20 AM | #1 |
Heres the trigger: So heres the deal.. it seems to work fine normally. Except I have a couple of other triggers that spawn units every 22 seconds, and if this trigger goes off after a coffin has been made then the coffin never gets deleted. I've tried everything I can think of to fix it, but it still won't delete. Help pls! |
| 08-04-2003, 06:30 AM | #2 |
Try changing the contions to dying unit, and try changing the actions to dyig unit also. |
| 08-04-2003, 06:33 AM | #3 |
from what i gather, if u think about it, in the time between the coffin being created, and the remove unit function being run, there is plenty of time for the 'Last Created Unit' to change if you are running triggers that create units every 22 seconds use a variable, if u need a longer explanation ask |
| 08-04-2003, 06:35 AM | #4 |
Coffin Trig Events Unit - A unit Dies Conditions ((Dying unit) is A Hero) Equal to True Actions Unit - Create 1 Coffin for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees Unit - Add a ((Real((Hero level of (Triggering unit)))) x 7.00) second Generic expiration timer to (Last created unit) |
| 08-04-2003, 06:52 AM | #5 |
Thanks a lot, never saw the expiration timer one. |
