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
Wargrounds v0.2.w3x
Variables
Initialization
Initialization
Game
Free Gold
In case builder dies
Nohero mode
Lose
Player Loses
G Creeps
G Create
Gspawn1
Gspawn1 Copy
Gspawn2
Gspawn2 Copy
Gspawn3
Gspawn3 Copy
E Creeps
E Create
Espawn1
Espawn1 Copy
Espawn2
Espawn2 Copy
Espawn3
Espawn3 Copy
The Flying Merchant
Create
Move
Name
Type
is_array
initial_value
Builder
location
No
duel
real
Yes
Default melee game initialization for all players
Initialization
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: Welcome to my test Tower Defense + Army Dukeout fighting map...The game is simple, choose your army and look for other players bases to destroy their buildings.
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . DONT LET ME DIE! for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Unit - Create 1 . Tower Builder for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Player - Turn Gives bounty On for (Picked player)
Player - Set (Picked player) . Current gold to 0
Player - Set (Picked player) . Food cap to 26
Player - Set (Picked player) . Current lumber to 0
Else - Actions
Game - Defeat (Picked player) with the message: Defeat!
Free Gold
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add 10 to (Picked player) . Current gold
Player - Add 5 to (Picked player) . Current lumber
In case builder dies
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Tower Builder
Actions
Unit - Create 1 . (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Nohero mode
Events
Player - Player 1 (Red) types a chat message containing -nohero (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Kill Hero Tavern 0015 <gen>
Unit - Kill Hero Tavern 0016 <gen>
Player Loses
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to DONT LET ME DIE!
Actions
Game - Missing string for 'DisplayTextToPlayer'
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
G Create
Events
Time - Every (Random real number between 90.00 and 130.00) seconds of game time
Conditions
Actions
Unit - Create 1 . I am a super creep! for Player 11 (Dark Green) at (Center of Gspawn1 <gen>) facing Default building facing degrees
Unit - Create 1 . I am a super creep! for Player 11 (Dark Green) at (Center of Gspawn2 <gen>) facing Default building facing degrees
Unit - Create 1 . I am a super creep! for Player 11 (Dark Green) at (Center of Gspawn3 <gen>) facing Default building facing degrees
Gspawn1
Events
Unit - A unit enters Gspawn1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move1 <gen>)
Gspawn1 Copy
Events
Unit - A unit enters move1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Espawn1 <gen>)
Gspawn2
Events
Unit - A unit enters Gspawn2 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move2 <gen>)
Gspawn2 Copy
Events
Unit - A unit enters move2 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Espawn2 <gen>)
Gspawn3
Events
Unit - A unit enters Gspawn3 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move3 <gen>)
Gspawn3 Copy
Events
Unit - A unit enters move3 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 11 (Dark Green)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Espawn3 <gen>)
E Create
Events
Time - Every (Random real number between 90.00 and 130.00) seconds of game time
Conditions
Actions
Unit - Create 1 . I am a super creep! for Player 12 (Brown) at (Center of Espawn1 <gen>) facing Default building facing degrees
Unit - Create 1 . I am a super creep! for Player 12 (Brown) at (Center of Espawn2 <gen>) facing Default building facing degrees
Unit - Create 1 . I am a super creep! for Player 12 (Brown) at (Center of Espawn3 <gen>) facing Default building facing degrees
Espawn1
Events
Unit - A unit enters Espawn1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move1 <gen>)
Espawn1 Copy
Events
Unit - A unit enters move1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Gspawn1 <gen>)
Espawn2
Events
Unit - A unit enters Espawn2 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move2 <gen>)
Espawn2 Copy
Events
Unit - A unit enters move2 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move2 <gen>)
Espawn3
Events
Unit - A unit enters Espawn3 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of move3 <gen>)
Espawn3 Copy
Events
Unit - A unit enters move3 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 12 (Brown)
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Gspawn3 <gen>)
Create
Events
Map initialization
Conditions
Actions
Unit - Create 1 . The Flying Merchant for Neutral Passive at (Random point in (Playable map area)) facing Default building facing degrees
Move
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Order (Random unit from (Units of type The Flying Merchant)) to Move To . (Random point in (Playable map area))
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.