| 06-20-2007, 04:53 PM | #1 |
Ok I have a trigger which removes the building of any building that is built out of a mobile radius. Problem is when I remove the building from the map, my peon is still hidden. How do I forcibly reveal the peon? I want to do this instantly. So far the only way I can figure this out is to give the peon a Stop Order, then a Wait 1 second, then remove/destroy the constructing structure. However, I do not like this delay, and I want to do it instantly. So when I instantly remove the constructing structure, the peon remains hidden, but he's still taking up space on the map. :( |
| 06-20-2007, 09:15 PM | #2 |
Just kill the structure instead of removing it. That will make the peon pop out. |
| 06-20-2007, 09:35 PM | #3 |
I would say since he doesnt want it to play the death animation, to just add the kill before the remove and keep the remove. |
| 06-20-2007, 09:44 PM | #4 |
Killing doesn't work, the peon is still invulnerable and hidden :( edit: AH HA! I just needed to wait .5 seconds before killing the structure :) .5 is fast enough for me :D ty |
| 06-20-2007, 10:03 PM | #5 |
It works in the real melee game. Just kill an orcish structure being built and the peon pops out automatically. *Shrugs* |
| 06-20-2007, 11:03 PM | #6 |
Well here's my theory on what was happening. My trigger was firing just a half second before the peon hide cycle was complete, that would explain why the peon wouldn't come out again :D so I just stuck a wait .50 in there and it works great :D |
