Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Peon Wars version 1.00.w3x
Variables
Initialization
Initialization
Towercount
Win
Peon Death
Name
Type
is_array
initial_value
Initialization
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: Type "-towercount" to see your non-upgraded towers.
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . Peon for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
Else - Actions
Towercount
Events
Player - Player 1 (Red) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 11 (Dark Green) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -towercount (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to (Player group((Triggering player))) the text: Your Towers
Game - Display to (Player group((Triggering player))) the text: (Total: |c7777d4e5 + ((String((Number of units in (Units in (Playable map area) owned by (Triggering player))))) + |r towers))
Game - Display to (Player group((Triggering player))) the text: ((String((Number of living |cffcccc00Peon's Tower|r units owned by (Triggering player)))) + |cffcccc00Peon's Towers|r)
Game - Display to (Player group((Triggering player))) the text: ((String((Number of living |c00ccccffGrunt's Tower|r units owned by (Triggering player)))) + |cffcccc00Grunt's Towers|r)
Game - Display to (Player group((Triggering player))) the text: ((String((Number of living |c8888cc00Raider's Tower|r units owned by (Triggering player)))) + |cffcccc00Raider's Towers|r)
Game - Display to (Player group((Triggering player))) the text: ((String((Number of living |c0336ff7dTauren's Tower|r units owned by (Triggering player)))) + |cffcccc00Tauren's Towers|r)
Game - Display to (Player group((Triggering player))) the text: ((String((Number of living |cccccff00Troll Witch Doctor's Tower|r units owned by (Triggering player)))) + |cffcccc00Troll Witch Doctor's Towers|r)
Win
Events
Unit - Master Tower 0014 <gen> Dies
Unit - Master Tower 0015 <gen> Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Master Tower 0014 <gen>
Then - Actions
Game - Display to (All players) the text: |c6600ffddRight Side|r has won! E-mail at |[email protected]|r
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Master Tower 0015 <gen>
Then - Actions
Game - Display to (All players) the text: |c6600ffddLeft Side|r has won! E-mail at |[email protected]|r
Else - Actions
Game - Display to (All players) the text: (Killing tower: + (((Name of (Owner of (Killing unit))) + 's ) + (Name of (Killing unit))))
Player Group - Pick every player in (All enemies of (Owner of (Triggering unit)).) and do (Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in (All allies of (Owner of (Triggering unit)).) and do (Defeat (Picked player) with the message: Play Again!)
Peon Death
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Peon
Actions
Game - Display to (All players) the text: (((Name of (Owner of (Triggering unit))) + 's) + ( peon was pawned by |cffffcc11 + ((Name of (Owner of (Killing unit))) + !|r)))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.