| 03-12-2003, 03:38 PM | #1 |
Trigger 1: EV-Unit - Wizard aquires an item COND-Item being manipulated equal to Human Flag ACT-Special Effect - Create a special effect attached at the overhead of (Triggering Unit) using Objects\InventoryItems\HumanCaptureFlag\HumanCaptureFlag.mdx Set sfx[1] = last created special effect Trigger 2: EV-Unit - Wizard loses an item COND-Item being manipulated equal to Human Flag ACT-Special Effect - Destroy sfx[1] After I drop the flag out of my inventory the flag appears on the ground as normal, but the flag is still attached to my unit for (I counted) 5 seconds. Then it vanishes. I'm making a capture the flag minigame for my Dark Crescent MOD incase your wondering, and this is very strange how it wont destroy instantly. No waits or anything. What's up? |
| 03-12-2003, 04:24 PM | #2 |
The only explanation I can think of is that the Flag (for some reason) has a really long Death animation. When you use "Destroy Special Effect", it will play the special effect's death animation before removing it. That's the only thing I can think of. |
| 03-12-2003, 04:41 PM | #3 |
Hm... maybe, but it is an item. I don't think they have alternate animations. But I don't understand why it just sits there with the unit and doesn't even do anything when I drop it to the ground. If this doesn't work, what else can I use? I need to have these flags being shown though. |
| 03-12-2003, 04:57 PM | #4 |
If I'm not mistaken the game automatically attaches the special effect for you when you pick up the flag, so just disable both triggers and try it ;) |
| 03-12-2003, 08:12 PM | #5 |
No it doesn't attach it for me. |
| 03-13-2003, 12:37 AM | #6 |
Bah, and I can't even create the special effect, then kill it rightaway. Still takes 5 seconds. EDIT: Damnit, BoddoZerg is right, it has a massive death animation. I turned the gem on (since it turns on unit death animations and the like), and it took about 10 seconds to remove. Ahhh. |
| 03-13-2003, 01:40 AM | #7 |
hm, if the flag was a unit and not a special effect you could increase its animation speed at time of death, but that would require using a periodic trigger to keep centering that unit on the flag carrier... |
| 03-13-2003, 02:43 AM | #8 |
And I wont be able to attach it to the unit and make it move when it moves..... damn |
| 03-13-2003, 03:14 AM | #9 |
well yes and no, you can make the flag have no collision, and every .5 seconds center the flag on the unit that is supposed to be carrying the flag |
| 03-18-2003, 08:01 AM | #10 |
someone in irc, i think it was vuen had a similar problem. He just changed the death sequence and if i recall... make the effect for death appear OFF the screen so it was instantaneous... Hope this helps! |
| 03-18-2003, 05:52 PM | #11 |
Guest | Ya couldn't you just move the flag somewhere and then destroy it? That ought to be instant. |
| 03-18-2003, 10:47 PM | #12 |
cant move a special effect... |
| 03-18-2003, 11:10 PM | #13 |
Try to attach other effects... Maybe the Rally Point of the race, or maybe the Orc/Human flag doodads... If all fails, attach a glowing effect, just to sinalize who has the flag. |
