- Joined
- Mar 28, 2009
- Messages
- 66
I'm Trying to Reduce these triggers since this is way too inefficient can someone help me?
Ill Give + Rep to anyone who helps me. Thank you in advance.
This is the first trigger
Spqwn Trigger <gen>
Ill Give + Rep to anyone who helps me. Thank you in advance.
This is the first trigger
-
Events
- Unit - A unit Finishes research
-
Conditions
- (Researched tech-type) Equal to Spawn Berserker Every 25 Seconds
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 3 (Teal)
-
Then - Actions
- Trigger - Turn on Spqwn Trigger Copy 2 <gen>
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 2 (Blue)
-
Then - Actions
- Trigger - Turn on Spqwn Trigger Copy <gen>
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
-
Then - Actions
- Trigger - Turn on Spqwn Trigger <gen>
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Spqwn Trigger <gen>
-
Events
- Time - Every 25.00 seconds of game time
-
Conditions
- (Orc Warlord 0014 <gen> is alive) Equal to True
-
Actions
- Set pointy_player1 = (Center of GruntSpawnRed <gen>)
- Unit - Create 1 Troll Berserker for Player 1 (Red) at pointy_player1 facing Default building facing degrees
- Custom script: call RemoveLocation(udg_pointy_player1)
-
Events
- Time - Every 25.00 seconds of game time
-
Conditions
- (Orc Warlord 0004 <gen> is alive) Equal to True
-
Actions
- Set pointy_player2 = (Center of GruntSpawnBlue <gen>)
- Unit - Create 1 Troll Berserker for Player 2 (Blue) at pointy_player2 facing Default building facing degrees
- Custom script: call RemoveLocation(udg_pointy_player2)
-
Events
- Time - Every 25.00 seconds of game time
-
Conditions
- (Orc Warlord 0015 <gen> is alive) Equal to True
-
Actions
- Set pointy_player3 = (Center of GruntSpawnLightBlue <gen>)
- Unit - Create 1 Troll Berserker for Player 3 (Teal) at pointy_player3 facing Default building facing degrees
- Custom script: call RemoveLocation(udg_pointy_player3)
Last edited: