QUOTE(Ahli @ Sep 24 2006, 03:30 PM)
delete the first wait in ur posted trigger and everything is ok. try it!
reason: triggers will be executed if u use a wait (that's why hyptertrigger works).
in ur case, the location will be centered to anywhere, because there is no supply left, because u deleted it before the wait.
->delete the first wait
[right][snapback]567302[/snapback][/right]
I still don't think that would fix it...
Instead of how you did it...
Condition:
Always
Action:
Center location supply onto supply depot at anywhere
Preserve Trigger
Condition:
Player* brings at least 1 supply depot to supply
Action:
Remove all supply depots from supply
Wait*
Create 1 bunker at supply
Create 4 marines at supply
Run AI script enter closest bunker
Wait*
Disable doodad state on bunker at supply
Preserve Trigger
Try this...
Condition:
Player* brings at least 1 supply depot to anywhere
Action:
Center location supply onto supply depot at anywhere
Wait*
Remove all supply depots from supply
Wait*
Create 1 bunker at supply
Create 4 marines at supply
Run AI script enter closest bunker
Wait*
Disable doodad state for bunker at supply
Preserve Trigger
Comment*
To my knowledge this should work, but if it doesn't, then you could try removing waits. I'm not sure if you even need the first 2 waits, but you need the 3rd one so that the units can actually enter the bunker, because if you disable it, then they won't be able to enter it anymore.