trigger 1
Unit - Any Unit construction progress is Completed
Local Variables
Conditions
(Triggering progress unit type) == Barracks
Actions
Unit Group - Add (Triggering progress unit) to add barracks to group
trigger 2
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
Actions
Unit Group - Pick each unit in add barracks to group and do (Actions)
Actions
Unit - Order (Picked unit) to (Barracks - Train Marine) (Replace Existing Orders)
trigger 3
Events
Unit - Any Unit dies
Local Variables
Conditions
(Unit type of (Triggering unit)) == Barracks
Actions
Unit Group - Remove (Triggering unit) from add barracks to group
How do I make a player controlled Unit (like a SCV) Build a Barracks that then auto trains or spawns Marines ?
I only now how to auto spawn from an existing building,
Edit: Added an attached file and deleted pm me
Order the SCV to build a barracks at a location, then order the barracks to train marines. O.o
@AeezSC: Go
Welcome to sc2mapster! :D
@grenegg: Go Thanks ^^
@BasharTeg: Go
Are you talking to me or Twisted?
Edit: ... double posted...
Epic thread.
I'm talking to EVERYONE BECAUSE MY VOICE BOOMS LIKE THE WIZARD OF OZ.
@BasharTeg: Go kk ^^
trigger 1 Unit - Any Unit construction progress is Completed Local Variables Conditions (Triggering progress unit type) == Barracks Actions Unit Group - Add (Triggering progress unit) to add barracks to group
trigger 2 Events Timer - Every 5.0 seconds of Game Time Local Variables Conditions Actions Unit Group - Pick each unit in add barracks to group and do (Actions) Actions Unit - Order (Picked unit) to (Barracks - Train Marine) (Replace Existing Orders)
trigger 3 Events Unit - Any Unit dies Local Variables Conditions (Unit type of (Triggering unit)) == Barracks Actions Unit Group - Remove (Triggering unit) from add barracks to group
+ u need a global variable (add barrack to group)
@okmaster: Go
thats too mess, create behavior spawning unit and make it perodic that's all