| 08-05-2003, 11:08 AM | #1 |
Okay, so I have a coffin spawn when a hero dies -- the base model I used for it was just a scaled down farm, then I changed the graphic to the doodad of a grave to be more appropriate. However, now when it deletes the "coffin" the grave doodad remains there. You can no longer select it, but the graphic is still there. Is there anyway I can get it to remove the doodad graphic too? |
| 08-05-2003, 11:16 AM | #2 |
Did you place a doodad there or a unit with the doodad model? |
| 08-05-2003, 11:17 AM | #3 |
Can´t you make a Unit with the model of a grave? Just pause it while it´s alive and make it targeted as none. |
| 08-05-2003, 11:19 AM | #4 |
Unit with doodad model. Was a farm, then I simply edited the model graphic to be a grave. I have the trigger set up to delete the coffin when the hero respawns, but now when it deletes the coffin the grave doodad stays there, all though it's no longer selectable. It's also important that the coffin be an invul structure, so I can't just make it a doodad. |
| 08-05-2003, 11:22 AM | #5 |
Hm, maybe try remove unit |
| 08-05-2003, 11:29 AM | #6 |
Okay, I must've not explained very clearly here... let me try again. It DOES remove the unit. When it had the default model of a farm it deleted it, and left a crater there. NOW when I changed it to the model of a grave.. it DOES delete the unit (hence it not being selectable anymore) but for some reason the doodad graphic of the grave remains there. |
| 08-05-2003, 11:32 AM | #7 |
change transperancy to 100% and THEN delete the unit. |
| 08-05-2003, 12:48 PM | #8 |
How would I do that? This is my current trigger: |
| 08-05-2003, 12:50 PM | #9 |
I've seen this happen on a few multiplayer maps, so maybe it's just a bug? emote_confused |
| 08-05-2003, 01:47 PM | #10 |
Does it show up in game? Iff not, re-open WE. It's a bug. |
| 08-05-2003, 01:54 PM | #11 |
I believe that things that aren't supposed to die (most doodads) will have very long times after dying since they disappear, mainly due to the decay time that is a nonexstent animation for doodads. Another way to make it so that the graves disappear would be to first move the grave to a region where no one can access, and then destroy it. |
| 08-05-2003, 02:24 PM | #12 | |
Quote:
E-... C-... A- Set Heros ... Set CoffinTime = ((Hero lvl of (Triggering unit)) x 7.00) Unit Creat 1 Coffin ... Set Coffin = (last created Unit) Wait CoffinTime Animation - Set Coffin <gen>´s Vertex coloring to ... 100%transperancy Unit - Remove Coffin <gen> just an idea hodi |
| 08-05-2003, 04:44 PM | #13 |
The 100% transparency thing seems to work. Thanks. |
