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
Forest Defence.w3m
Variables
Initialization
Melee Initialization
Rounds
TelePort
Timer
Timer 2
A1
Board
Distruct Lives
iiiiiiiiiiiNot Hereiiiiiiiiiii
Heroes
Troll Caster
Troll Warrior
Panda Warrior
Wolf Warrior
Demon Hunter
Priestess Of The Moon
Keeper Of The Grove
Moves
Side a
Side a Copy
Side a Copy Copy
Side a Copy Copy Copy
Side b
Side b Copy
Side b Copy Copy
Side b Copy Copy Copy
Middle c
Middle c Copy
Middle c Copy 2
Middle c Copy 2 Copy
Middle c Copy Copy
Name
Type
is_array
initial_value
Count
timer
No
Count_Copy
timerdialog
No
CreepsLevel1
unitcode
Yes
DownOrLeft
boolean
No
false
Level
integer
No
0
Lives
integer
No
25
RaqndomNightElf
unitcode
Yes
Default melee game initialization for all players
Melee Initialization
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Game - Display to (All players) the text: |cff800000Hello, And Welcome to Forest Defence.|cff804000Map made by: |cff004000Nefarious-Mitch
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across (Playable map area))
Player Group - Pick every player in (All players) and do (.Apply. gg_cam_Game_View for (Picked player) over 0 seconds)
Set Variable Set CreepsLevel1[1] = "hpea"
Set Variable Set CreepsLevel1[2] = "hfoo"
Set Variable Set CreepsLevel1[3] = "hrif"
Set Variable Set CreepsLevel1[4] = "hmpr"
Set Variable Set CreepsLevel1[6] = "hsor"
Set Variable Set CreepsLevel1[7] = "hmtm"
Set Variable Set CreepsLevel1[8] = "hkni"
Set Variable Set CreepsLevel1[9] = "hmtt"
Set Variable Set CreepsLevel1[10] = "hgyr"
Set Variable Set CreepsLevel1[11] = "hgry"
Set Variable Set CreepsLevel1[12] = "opeo"
Set Variable Set CreepsLevel1[13] = "ogru"
Set Variable Set CreepsLevel1[14] = "ohun"
Set Variable Set CreepsLevel1[15] = "odoc"
Set Variable Set CreepsLevel1[16] = "oshm"
Set Variable Set CreepsLevel1[17] = "ohun"
Set Variable Set CreepsLevel1[18] = "orai"
Set Variable Set CreepsLevel1[19] = "otau"
Set Variable Set CreepsLevel1[20] = "okod"
Set Variable Set CreepsLevel1[21] = "ocat"
Set Variable Set CreepsLevel1[22] = "owyv"
Set Variable Set CreepsLevel1[23] = "uaco"
Set Variable Set CreepsLevel1[24] = "ugho"
Set Variable Set CreepsLevel1[25] = "ucry"
Set Variable Set CreepsLevel1[26] = "uban"
Set Variable Set CreepsLevel1[27] = "unec"
Set Variable Set CreepsLevel1[28] = "ushd"
Set Variable Set CreepsLevel1[29] = "uabo"
Set Variable Set CreepsLevel1[30] = "umtw"
Set Variable Set CreepsLevel1[31] = "ugar"
Set Variable Set CreepsLevel1[32] = "ufro"
Set Variable Set RaqndomNightElf[1] = "Ekee"
Set Variable Set RaqndomNightElf[2] = "Emoo"
Set Variable Set RaqndomNightElf[3] = "Edem"
Set Variable Set RaqndomNightElf[4] = "Edem"
Set Variable Set RaqndomNightElf[5] = "Emoo"
Set Variable Set RaqndomNightElf[6] = "Emoo"
Set Variable Set RaqndomNightElf[7] = "Ekee"
Set Variable Set RaqndomNightElf[8] = "Ekee"
Set Variable Set RaqndomNightElf[9] = "Emoo"
Set Variable Set RaqndomNightElf[10] = "Ekee"
Rounds
Events
Conditions
(Player 12 (Brown) Food used) Less than or equal to 0
(Player 11 (Dark Green) Food used) Less than or equal to 0
Actions
Sound - Play prepare <gen>
Countdown Timer - Destroy (Last created timer window)
Set Variable Set Level = (Level + 1)
Unit - Create 1 . CreepsLevel1[Level] for Player 12 (Brown) at (Center of Monster_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . CreepsLevel1[Level] for Player 11 (Dark Green) at (Center of Monster_Spawn <gen>) facing Default building facing degrees
Wait 1.00 seconds
Unit - Create 1 . CreepsLevel1[Level] for Player 12 (Brown) at (Center of Monster_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . CreepsLevel1[Level] for Player 11 (Dark Green) at (Center of Monster_Spawn <gen>) facing Default building facing degrees
Wait 1.00 seconds
Unit - Create 1 . CreepsLevel1[Level] for Player 12 (Brown) at (Center of Monster_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . CreepsLevel1[Level] for Player 11 (Dark Green) at (Center of Monster_Spawn <gen>) facing Default building facing degrees
Wait 1.00 seconds
Unit - Create 1 . CreepsLevel1[Level] for Player 12 (Brown) at (Center of Monster_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . CreepsLevel1[Level] for Player 11 (Dark Green) at (Center of Monster_Spawn <gen>) facing Default building facing degrees
Wait 1.00 seconds
Unit - Create 1 . CreepsLevel1[Level] for Player 12 (Brown) at (Center of Monster_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . CreepsLevel1[Level] for Player 11 (Dark Green) at (Center of Monster_Spawn <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 12 (Brown).) and do (Turn collision for (Picked unit) Off.)
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green).) and do (Turn collision for (Picked unit) Off.)
TelePort
Events
Unit - A unit enters Region_002_Copy_9 <gen>
Conditions
Actions
Unit - Move (Triggering unit) instantly to (Center of Region_002_Copy_5 <gen>)
Unit - Set life of (Triggering unit) to 100 %
Unit - Set mana of (Triggering unit) to 100 %
Special Effect - Create a special effect at (Center of Region_002_Copy_9 <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at (Center of Region_002_Copy_5 <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
Special Effect - Destroy (Last created special effect)
Timer
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Count with title Time To Choose...
Countdown Timer - Start Count as a One-shot timer that will expire in 2.00 seconds
Countdown Timer - Show (Last created timer window)
Set Variable Set Count = (Last started timer)
Set Variable Set Count_Copy = (Last created timer window)
Timer 2
Events
Time - Count expires
Conditions
Actions
Countdown Timer - Destroy Count_Copy
Sound - Play prepare <gen>
Trigger - Run Rounds <gen> (checking conditions)
Trigger - Turn off (This trigger)
Trigger - Turn on A1 <gen>
A1
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Trigger - Run Rounds <gen> (checking conditions)
Board
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Forest Defence
Leaderboard - Add Player 9 (Gray) to (Last created leaderboard) with label Lives and value Lives
Leaderboard - Show (Last created leaderboard)
Distruct Lives
Events
Unit - A unit enters Region_002_Copy_8 <gen>
Conditions
((Triggering unit) is A Hero) Not equal to True
Actions
Set Variable Set Lives = (Lives - 1)
Trigger - Run Board <gen> (checking conditions)
If ((Owner of (Triggering unit)) Equal to Player 11 (Dark Green)) then do (Move (Triggering unit) instantly to (Center of Monster_Spawn <gen>)) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 12 (Brown)) then do (Move (Triggering unit) instantly to (Center of Monster_Spawn_2 <gen>)) else do (Do nothing)
iiiiiiiiiiiNot Hereiiiiiiiiiii
Events
Map initialization
Conditions
Actions
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 1 (Red).) and do (Remove (Picked unit) from the game))
If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 2 (Blue).) and do (Remove (Picked unit) from the game))
If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 3 (Teal).) and do (Remove (Picked unit) from the game))
If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 4 (Purple).) and do (Remove (Picked unit) from the game))
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 5 (Yellow).) and do (Remove (Picked unit) from the game))
If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 6 (Orange).) and do (Remove (Picked unit) from the game))
If ((Player 7 (Green) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 7 (Green).) and do (Remove (Picked unit) from the game))
If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 8 (Pink).) and do (Remove (Picked unit) from the game))
If ((Player 10 (Light Blue) slot status) Equal to Is playing) then do (Do nothing) else do (Pick every unit in (Units owned by Player 10 (Light Blue).) and do (Remove (Picked unit) from the game))
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.