- Joined
- Aug 19, 2007
- Messages
- 1,380
Hi,
Can the following transport trigger result in lags? E.g. if the AI has many units and transports? Its an old and ugly trigger so it can result in eye cancer:
Can the following transport trigger result in lags? E.g. if the AI has many units and transports? Its an old and ugly trigger so it can result in eye cancer:
-
AI transport load units
-
Events
-
Time - Every 8.00 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 2 (Blue) controller) Equal to Computer
-
AI_Player2_Air Equal to 1
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of living Aurochs units owned by Player 2 (Blue)) Greater than 0
-
-
Then - Actions
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Unit-type of (Matching unit)) Equal to Aurochs) and (((Current order of (Matching unit)) Not equal to (Order(load))) and ((Current order of (Matching unit)) Not equal to (Order(unloadall)))))) and do (Unit - Order (Picked unit) to Load (Random unit from (Units owned by (Owner of (Picked unit)) matching (((Unit-type of (Matching unit)) Equal to Bionic Marine) or ((Unit-type of (Matching unit)) Equal to Chemical Bot)))))
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of living Broodmother units owned by Player 2 (Blue)) Greater than 0
-
-
Then - Actions
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Unit-type of (Matching unit)) Equal to Broodmother) and (((Current order of (Matching unit)) Not equal to (Order(load))) and ((Current order of (Matching unit)) Not equal to (Order(unloadall)))))) and do (Unit - Order (Picked unit) to Load (Random unit from (Units owned by (Owner of (Picked unit)) matching (((Unit-type of (Matching unit)) Equal to Zombie) or ((Unit-type of (Matching unit)) Equal to Infested Terran)))))
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Unit-type of (Matching unit)) Equal to Broodmother) and (((Current order of (Matching unit)) Not equal to (Order(load))) and ((Current order of (Matching unit)) Not equal to (Order(unloadall)))))) and do (Unit - Order (Picked unit) to Load (Random unit from (Units owned by (Owner of (Picked unit)) matching (((Unit-type of (Matching unit)) Equal to Zombie) or ((Unit-type of (Matching unit)) Equal to Infested Terran)))))
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of living Overlord of the Void units owned by Player 2 (Blue)) Greater than 0
-
-
Then - Actions
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Unit-type of (Matching unit)) Equal to Overlord of the Void) and (((Current order of (Matching unit)) Not equal to (Order(load))) and ((Current order of (Matching unit)) Not equal to (Order(unloadall)))))) and do (Unit - Order (Picked unit) to Load (Random unit from (Units owned by (Owner of (Picked unit)) matching (((Unit-type of (Matching unit)) Equal to Minion) or (((Unit-type of (Matching unit)) Equal to Minion (splitted)) or ((Unit-type of (Matching unit)) Equal
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) matching (((Unit-type of (Matching unit)) Equal to Overlord of the Void) and (((Current order of (Matching unit)) Not equal to (Order(load))) and ((Current order of (Matching unit)) Not equal to (Order(unloadall)))))) and do (Unit - Order (Picked unit) to Load (Random unit from (Units owned by (Owner of (Picked unit)) matching (((Unit-type of (Matching unit)) Equal to Minion) or (((Unit-type of (Matching unit)) Equal to Minion (splitted)) or ((Unit-type of (Matching unit)) Equal
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-