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
ArenaWars.w3x
Variables
Initialization
Initialization
Level
Dragon
Select Hero
Select Pally
Select Archmage
Select Mountain King
Select Blood Mage
Select Blade Master
Select Farseer
Select Tauran
Select Shadow Hunter
Select Lich
Select Death Knight
Select DreadLord
Select CryptLord
Select KeeperGrove
Select MoonPriestess
Select DemonHunter
Select Warden
Select Alchemist
Select SeaWitch
Select Tinker
Select BeastMaster
Select DarkRanger
Select FireLord
Select Pandaren
Select PitLord
Spawn
Spawn
Dec Value
Move1
Move2
Respawn
Respawn
AI
SelectHero
Fight
LevelUp
LeaderBoard
Leader
Update
Duel
Start Duel
End Duel
Spikes
Damage Spikes
Control
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
BlueTeam
force
No
Point1
location
No
Point2
location
No
Random
unit
No
RedTeam
force
No
Unit1
unit
No
Unit2
unit
No
Initialization
Events
Map initialization
Conditions
Actions
Unit - Create 1 . Circle of Power for Neutral Hostile at (Center of Middle <gen>) facing Default building facing degrees
Set Variable Set Random = (Last created unit)
Destructible - Pick every destructible in Duel <gen> and do (Actions)
Loop - Actions
Destructible - Kill (Picked destructible)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Reveal1 <gen>
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Reveal2 <gen>
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Reveal3 <gen>
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Reveal4 <gen>
Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing).) and do (Create 1.Wisp for (Picked player) at (Random point in Spawn_Wisps <gen>) facing Default building facing degrees)
Game - Set the time of day to 6.10
Player Group - Add Player 1 (Red) to RedTeam
Player Group - Add Player 3 (Teal) to RedTeam
Player Group - Add Player 5 (Yellow) to RedTeam
Player Group - Add Player 7 (Green) to RedTeam
Player Group - Add Player 9 (Gray) to RedTeam
Player Group - Add Player 11 (Dark Green) to RedTeam
Player Group - Add Player 2 (Blue) to BlueTeam
Player Group - Add Player 4 (Purple) to BlueTeam
Player Group - Add Player 6 (Orange) to BlueTeam
Player Group - Add Player 8 (Pink) to BlueTeam
Player Group - Add Player 10 (Light Blue) to BlueTeam
Player Group - Add Player 12 (Brown) to BlueTeam
Level
Events
Player - Player 1 (Red) types a chat message containing /level (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Hero - Set (Picked unit) Hero-level to 10 , Show level-up graphics
Dragon
Events
Time - Every 600.00 seconds of game time
Conditions
Actions
Hero - Create Dragon Caller and give it to Random
Unit Group - Pick every unit in (Units of type Circle of Power) and do (Actions)
Loop - Actions
Hero - Order Random to use (Item carried by Random in slot 1)
Item - Remove (Last created item)
Select Pally
Events
Unit - A unit enters Pally <gen>
Conditions
Actions
Unit - Create 1 . Paladin for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Archmage
Events
Unit - A unit enters ArchMage <gen>
Conditions
Actions
Unit - Create 1 . Archmage for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Mountain King
Events
Unit - A unit enters MountainKing <gen>
Conditions
Actions
Unit - Create 1 . Mountain King for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Blood Mage
Events
Unit - A unit enters BloodMage <gen>
Conditions
Actions
Unit - Create 1 . Blood Mage for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Blade Master
Events
Unit - A unit enters BladeMaster <gen>
Conditions
Actions
Unit - Create 1 . Blademaster for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Farseer
Events
Unit - A unit enters FarSeer <gen>
Conditions
Actions
Unit - Create 1 . Far Seer for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Tauran
Events
Unit - A unit enters Tauran <gen>
Conditions
Actions
Unit - Create 1 . Tauren Chieftain for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Shadow Hunter
Events
Unit - A unit enters ShadowHunter <gen>
Conditions
Actions
Unit - Create 1 . Shadow Hunter for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Lich
Events
Unit - A unit enters Lich <gen>
Conditions
Actions
Unit - Create 1 . Lich for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Death Knight
Events
Unit - A unit enters Death_Knight <gen>
Conditions
Actions
Unit - Create 1 . Death Knight for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select DreadLord
Events
Unit - A unit enters DreadLord <gen>
Conditions
Actions
Unit - Create 1 . Dreadlord for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select CryptLord
Events
Unit - A unit enters CryptLord <gen>
Conditions
Actions
Unit - Create 1 . Crypt Lord for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select KeeperGrove
Events
Unit - A unit enters Cenarius <gen>
Conditions
Actions
Unit - Create 1 . Keeper of the Grove for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select MoonPriestess
Events
Unit - A unit enters MoonPriestess <gen>
Conditions
Actions
Unit - Create 1 . Priestess of the Moon for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select DemonHunter
Events
Unit - A unit enters DemonHunter <gen>
Conditions
Actions
Unit - Create 1 . Demon Hunter for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Warden
Events
Unit - A unit enters Warden <gen>
Conditions
Actions
Unit - Create 1 . Warden for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Alchemist
Events
Unit - A unit enters Alchemest <gen>
Conditions
Actions
Unit - Create 1 . Alchemist for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select SeaWitch
Events
Unit - A unit enters SeaWitch <gen>
Conditions
Actions
Unit - Create 1 . Sea Witch for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Tinker
Events
Unit - A unit enters Tinker <gen>
Conditions
Actions
Unit - Create 1 . Tinker for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select BeastMaster
Events
Unit - A unit enters BeastMaster <gen>
Conditions
Actions
Unit - Create 1 . Beastmaster for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select DarkRanger
Events
Unit - A unit enters Dark_Ranger <gen>
Conditions
Actions
Unit - Create 1 . Dark Ranger for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select FireLord
Events
Unit - A unit enters Firelord <gen>
Conditions
Actions
Unit - Create 1 . Firelord for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select Pandaren
Events
Unit - A unit enters Panderian <gen>
Conditions
Actions
Unit - Create 1 . Brewmaster for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Select PitLord
Events
Unit - A unit enters CryptFiend <gen>
Conditions
Actions
Unit - Create 1 . Pit Lord for (Owner of (Entering unit)) at (Random point in Middle <gen>) facing Default building facing degrees
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Middle <gen>) over 1.00 seconds
Unit - Remove (Entering unit) from the game
Spawn
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Spawning Pit) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Picked unit)) Less than 10
Then - Actions
Unit - Create 1 . (Random level (Hero level of (Random unit from (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True)))) creep unit-type) for Neutral Hostile at (Position of (Picked unit)) facing Default building facing degrees
Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) + 1)
Else - Actions
Do nothing
Dec Value
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
Actions
Unit Group - Pick every unit in (Units of type Spawning Pit) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is in (Units within 1500.00 of (Position of (Picked unit)).).) Equal to True
Then - Actions
Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) - 1)
Else - Actions
Do nothing
Move1
Events
Unit - A unit enters Team1_Door <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Team1_Spawn <gen>)
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Team1_Spawn <gen>) over 1.00 seconds
Move2
Events
Unit - A unit enters Team2_Door <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Team2_Spawn <gen>)
Camera - Pan camera for (Owner of (Entering unit)) to (Center of Team2_Spawn <gen>) over 1.00 seconds
Respawn
Events
Unit - A unit Dies
Conditions
Actions
Wait 10.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Dying unit)) is an ally of Player 1 (Red).) Equal to True
Then - Actions
Hero - Instantly revive (Dying unit) at (Random point in Start_1 <gen>) , Show revival graphics
If (((Owner of (Dying unit)) controller) Equal to Computer) then do (Order (Dying unit) to Move To.(Center of Team1_Door <gen>)) else do (Do nothing)
Camera - Pan camera for (Owner of (Dying unit)) to (Position of (Dying unit)) over 1.00 seconds
Else - Actions
Hero - Instantly revive (Dying unit) at (Random point in Start_2 <gen>) , Show revival graphics
If (((Owner of (Dying unit)) controller) Equal to Computer) then do (Order (Dying unit) to Move To.(Center of Team2_Door <gen>)) else do (Do nothing)
Camera - Pan camera for (Owner of (Dying unit)) to (Position of (Dying unit)) over 1.00 seconds
SelectHero
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players controlled by a Computer player) and do (Actions)
Loop - Actions
Unit - Order (Random unit from (Units owned by (Picked player) of type Wisp)) to Move To . (Position of (Random unit from (Units of type Circle of Power (large))))
Fight
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players controlled by a Computer player) and do (Actions)
Loop - Actions
Unit Group - Order (Units in AI_1 <gen> owned by (Picked player)) to Move To . (Center of Team1_Door <gen>)
Unit Group - Order (Units in AI_2 <gen> owned by (Picked player)) to Move To . (Center of Team2_Door <gen>)
Unit Group - Order (Units in Team1_Spawn <gen> owned by (Picked player)) to Attack-Move To . (Center of Middle <gen>)
Unit Group - Order (Units in Team2_Spawn <gen> owned by (Picked player)) to Attack-Move To . (Center of Middle <gen>)
Unit Group - Order (Units in BattleField <gen> owned by (Picked player)) to Attack-Move To . (Center of Middle <gen>)
LevelUp
Events
Unit - A unit Gains a level
Conditions
((Owner of (Leveling Hero)) controller) Equal to Computer
Actions
Hero - Learn skill for (Leveling Hero) : Human Archmage - Mass Teleport
Hero - Learn skill for (Leveling Hero) : Human Archmage - Blizzard
Hero - Learn skill for (Leveling Hero) : Human Archmage - Summon Water Elemental
Hero - Learn skill for (Leveling Hero) : Human Archmage - Brilliance Aura
Hero - Learn skill for (Leveling Hero) : Human Blood Mage - Phoenix
Hero - Learn skill for (Leveling Hero) : Human Blood Mage - Flame Strike
Hero - Learn skill for (Leveling Hero) : Human Blood Mage - Banish
Hero - Learn skill for (Leveling Hero) : Human Blood Mage - Siphon Mana
Hero - Learn skill for (Leveling Hero) : Human Mountain King - Avatar
Hero - Learn skill for (Leveling Hero) : Human Mountain King - Storm Bolt
Hero - Learn skill for (Leveling Hero) : Human Mountain King - Thunder Clap
Hero - Learn skill for (Leveling Hero) : Human Mountain King - Bash
Hero - Learn skill for (Leveling Hero) : Human Paladin - Resurrection
Hero - Learn skill for (Leveling Hero) : Human Paladin - Divine Shield
Hero - Learn skill for (Leveling Hero) : Human Paladin - Holy Light
Hero - Learn skill for (Leveling Hero) : Human Paladin - Devotion Aura
Hero - Learn skill for (Triggering unit) : Cleaving Attack
Hero - Learn skill for (Triggering unit) : Howl of Terror
Hero - Learn skill for (Triggering unit) : Rain of Fire
Hero - Learn skill for (Triggering unit) : Transmute
Hero - Learn skill for (Triggering unit) : Chemical Rage
Hero - Learn skill for (Triggering unit) : Healing Spray
Hero - Learn skill for (Triggering unit) : Acid Bomb
Hero - Learn skill for (Triggering unit) : Storm, Earth, And Fire
Hero - Learn skill for (Triggering unit) : Drunken Brawler
Hero - Learn skill for (Triggering unit) : Breath of Fire
Hero - Learn skill for (Triggering unit) : Drunken Haze
Leader
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills:
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value ((Picked player) Current lumber)
Update
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Not equal to Neutral Hostile
Actions
Player - Add 1 to (Owner of (Killing unit)) . Current lumber
Player - Add (Random integer number between 100 and 500) to (Owner of (Killing unit)) . Current gold
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Leaderboard - Change the value for (Picked player) in (Last created leaderboard) to ((Picked player) Current lumber)
Hero - Drop the item from slot (Random integer number between 1 and 6) of (Dying unit) .
Start Duel
Events
Player - Player 1 (Red) types a chat message containing /duel (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Pause all units
Unit Group - Pick every unit in (Random 1 units from (Units in (Playable map area) matching ((Owner of (Matching unit)) Equal to (Random player from RedTeam)))) and do (Actions)
Loop - Actions
Unit - Unpause (Picked unit)
Set Variable Set Point1 = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to (Random point in 1 <gen>)
Set Variable Set Unit1 = (Picked unit)
Unit Group - Pick every unit in (Random 1 units from (Units in (Playable map area) matching (((Owner of (Matching unit)) is giving Player 2 (Blue).Shared vision) Equal to True))) and do (Actions)
Loop - Actions
Unit - Unpause (Picked unit)
Set Variable Set Point2 = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to (Random point in 2 <gen>)
Set Variable Set Unit2 = (Picked unit)
Trigger - Turn on End_Duel <gen>
End Duel
Events
Unit - A unit Dies
Conditions
Actions
Trigger - Turn off (This trigger)
Unit - Move Unit1 instantly to Point1
Unit - Move Unit2 instantly to Point2
Unit - Unpause all units
Unit Group - Pick every unit in (Units in Duel <gen>) and do (Kill (Picked unit))
Spikes
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Destructible - Resurrect (Random destructible in Duel <gen>) with 9999.00 life and Show birth animation
Wait 1.00 seconds
Destructible - Kill (Random destructible in Duel <gen> matching (((Matching destructible) is alive) Equal to True))
Damage Spikes
Events
Destructible - A destructible within Duel <gen> dies
Conditions
Actions
Unit Group - Pick every unit in (Units within 50.00 of (Position of (Dying destructible)).) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 30.00)
Control
Events
Player - Player 1 (Red) types a chat message containing /mine (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Create 1 . Firelord for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
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.