So, I started working on a Golem Wars map (There was one previously released but I just wanted some practice with the triggers) and did all the triggers by myself. I only relied on google and this site just a couple times. (Object of Golem Wars is in order to upgrade your units to a tier 2, you must get the amount of kills tier1 is set to) Instead in my version, I made it to where instead of spawning on a bunker, they spawn on a small battle field. Cool right? Not really. The first release of the Alpha to my clannies it got bad feed back right away. It was just too boring. So I'm done with that map, and am now working on a new map titled RoSA.
Regions:
Spawn1
Battlefield
Variables:
Spawn1Group - PlayerGroup
playerkills - Integer - Array = (number of players in game)
Tier1 - Integer - Set by Red at Beginning of the Game.
Tier2 - Integer - Set by Red at Beginning of the Game.
Regions:
Spawn1
Battlefield
Variables:
Spawn1Group - PlayerGroup
playerkills - Integer - Array = (number of players in game)
Tier1 - Integer - Set by Red at Beginning of the Game.
Tier2 - Integer - Set by Red at Beginning of the Game.
-
Spawn1TimerON Copy
-
Events
- Unit - A unit enters Spawn1 <gen>
- Conditions
-
Actions
- Player Group - Add (Owner of (Triggering unit)) to Spawn1Group
-
Events
-
Spawn1TriggerOff Copy
-
Events
- Unit - A unit leaves Spawn1 <gen>
- Conditions
-
Actions
- Player Group - Remove (Owner of (Triggering unit)) from Spawn1Group
-
Events
-
Spawn1
-
Events
- Time - Every 5.00 seconds of game time
- Conditions
-
Actions
-
Player Group - Pick every player in Spawn1Group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- playerkills[(Player number of (Picked player))] Less than Tier1
-
Then - Actions
- Unit - Create 1 Swordsman for (Picked player) at (Random point in Battle Field <gen>) facing Default building facing degrees
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- playerkills[(Player number of (Picked player))] Less than Tier2
-
Then - Actions
- Unit - Create 1 Rifleman for (Picked player) at (Random point in Battle Field <gen>) facing Default building facing degrees
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- playerkills[(Player number of (Picked player))] Greater than or equal to Tier2
-
Then - Actions
- Unit - Create 1 Knight for (Picked player) at (Random point in Battle Field <gen>) facing Default building facing degrees
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Player Group - Pick every player in Spawn1Group and do (Actions)
-
Events
Last edited by a moderator: