Unit - Create 12 Zergling for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit - Create 8 Zealot for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit - Create 5 Stalker for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit Group - Pick each unit in (Any units in Region 001 owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack Marine [13.48, 37.16]) (Replace Existing Orders)
---- Why won't this loop correctly? It does it on map initialization, but not after. Is the problem Map Initialization or what? I feel like I'm missing something, but I just can't get it. I do think I've read somewhere that timer might not work? But any help would be appreciated folks, thanks
Unit - Create 12 Zergling for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit - Create 8 Zealot for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit - Create 5 Stalker for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit Group - Pick each unit in (Any units in Region 001 owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack Marine [13.48, 37.16]) (Replace Existing Orders)
Why won't this loop correctly?It does it on map initialization, but not after.Is the problem Map Initialization or what? I feel like I'm missing something, but I just can't get it.I do think I've read somewhere that timer might not work? But any help would be appreciated folks, thanks
I've had trouble with the timer but i have it working now, its just difficult to use at first but if you want more info on it i believe there was already a detailed post on how to set one up in these forums. If you just want it to spawn units every 4.5 seconds however just use the "Periodic Event" event and set it to 4.5 seconds. Hope this helps!
Spawn Units
Events
Timer - Elapsed time is 4.5 Game Time seconds
Game - Map initialization
Local Variables
Conditions
Actions
Unit - Create 12 Zergling for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit - Create 8 Zealot for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit - Create 5 Stalker for player 2 at (Center of Region 001) facing (Position of Marine [13.48, 37.16]) (No Options)
Unit Group - Pick each unit in (Any units in Region 001 owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack Marine [13.48, 37.16]) (Replace Existing Orders)
---- Why won't this loop correctly? It does it on map initialization, but not after. Is the problem Map Initialization or what? I feel like I'm missing something, but I just can't get it. I do think I've read somewhere that timer might not work? But any help would be appreciated folks, thanks
I've had trouble with the timer but i have it working now, its just difficult to use at first but if you want more info on it i believe there was already a detailed post on how to set one up in these forums. If you just want it to spawn units every 4.5 seconds however just use the "Periodic Event" event and set it to 4.5 seconds. Hope this helps!
Thank you very much spores! sorry about this with another post, but it did help :) Cheers