I was wondering if this would work.
Barracks: Create Terran Marine
Move marine to location "Cast"
Cond:
Bring 1 terran marine at cast for P1
Command exactly 1 hero owned by P1
Act:
Display Text Message
Wait 5 ms
Remove Terran Marine at Cast
Preserve trigger
Cond:
Player 1 bring 1 terran marine at cast
Foe bring 1 Hero at X
Act:
Center location 1 on foe at anywhere
Center location 2 on foe at anywhere
Move foe at location 1 to location 2
Preserve trigger
Location x is centered on player 1 hero
Location 1 and 2 are location that will be centered on an enemy foe
Once player 1 creates a terran marine the above trigger will fire, If an enemy foe is near player one, it will immediatly freeze for 5 second, giving time for player 1 to attack the foe. Im just wondering if i set this up right and if it will work. I have no time to test this because for one thing im still in school and later i have a tennis match with some other school. Thank You
1 millisecond (ms) = 1/1000 of 1 second, so you should use 5000 ms instead.
For the second trigger, you only need 1 location for it to work.
Lastly, there is an alternative method to using Waits, if you'd like to hear it.