the following code is called by a timer every 30 seconds, but for some reason instead of creating 2 zealots and 1 stalker with one of each required buildings its creating doubles.
Unit Group - Pick each unit in (Any units in (Entire map) owned by player Team1Turn[0] matching (No Value), with at most Any Amount) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Picked unit)) == Forge
Then
Unit - Create 2 Zealot for player 8 at Start Location 008 facing Start Location 007 (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Picked unit)) == Pylon
Then
Unit - Create 1 Stalker for player 8 at Start Location 008 facing Start Location 007 (No Options)
Else
Unit - Order all units in (Any units in (Entire map) owned by player 8 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) to ( Attack targeting Start Location 007) (Replace Existing Orders)
the following code is called by a timer every 30 seconds, but for some reason instead of creating 2 zealots and 1 stalker with one of each required buildings its creating doubles.
Unit Group - Pick each unit in (Any units in (Entire map) owned by player Team1Turn[0] matching (No Value), with at most Any Amount) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Picked unit)) == Forge
Then
Unit - Create 2 Zealot for player 8 at Start Location 008 facing Start Location 007 (No Options)
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Unit type of (Picked unit)) == Pylon
Then
Unit - Create 1 Stalker for player 8 at Start Location 008 facing Start Location 007 (No Options)
Else
Unit - Order all units in (Any units in (Entire map) owned by player 8 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) to ( Attack targeting Start Location 007) (Replace Existing Orders)