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
CotC AoS Arena v0.11.w3x
Variables
Initialization
Melee Initialization
Gold Income
Hero Death
Beginning
Revive
Creeps Spawn
Spawn
Movement
Movement Copy
Creep Upgrade
Victory\Defeat
Team 1 Defeated
Team 2 Defeated
Item Recipies
Wernos Gauntlet
Wernos Gauntlet Copy
Boots of Haste
Boots of Haste Copy
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
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Set starting resources (for all players)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Player - Limit training of Heroes to 1 for (Picked player)
Gold Income
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add 1 to (Picked player) . Current gold
Player - Set (Picked player) . Current lumber to 0
Beginning
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Game - Display to (All players) the text: ((Name of (Owner of (Dying unit))) + ( has been killed by + ((Name of (Owner of (Killing unit))) + !)))
Unit - Create 1 . Spirit for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
Revive
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Resurrect Hero
Actions
Unit - Make (Triggering unit) Vulnerable
Unit - Kill (Triggering unit)
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Actions)
Loop - Actions
Hero - Instantly revive (Picked unit) at (Position of (Triggering unit)) , Show revival graphics
Game - Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + |cffffcc00has revived his\her Hero!|r )
Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Gnoll Mudman for Player 5 (Yellow) at (Center of Gnoll_Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 5 . Gnoll Mudman for Player 5 (Yellow) at (Center of Gnoll_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 3 . Gnoll Archer for Player 5 (Yellow) at (Center of Gnoll_Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 3 . Gnoll Archer for Player 5 (Yellow) at (Center of Gnoll_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Gnoll Crossbow for Player 5 (Yellow) at (Center of Gnoll_Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . Gnoll Crossbow for Player 5 (Yellow) at (Center of Gnoll_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 5 . Razormane Warrior for Player 10 (Light Blue) at (Center of Quill_Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 5 . Razormane Warrior for Player 10 (Light Blue) at (Center of Quill_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 3 . Quillboar for Player 10 (Light Blue) at (Center of Quill_Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 3 . Quillboar for Player 10 (Light Blue) at (Center of Quill_Spawn_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Razormane Catapult for Player 10 (Light Blue) at (Center of Quill_Spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . Razormane Catapult for Player 10 (Light Blue) at (Center of Quill_Spawn_2 <gen>) facing Default building facing degrees
Movement
Events
Unit - A unit enters (Entire map)
Conditions
(Owner of (Entering unit)) Equal to Player 5 (Yellow)
Actions
Unit - Order (Entering unit) to Patrol To . (Position of Hall of Justice 0022 <gen>)
Movement Copy
Events
Unit - A unit enters (Entire map)
Conditions
(Owner of (Entering unit)) Equal to Player 10 (Light Blue)
Actions
Unit - Order (Entering unit) to Patrol To . (Position of Hall of Justice 0008 <gen>)
Creep Upgrade
Events
Time - Every 300.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set the current research level of Rhme (Unexpected type: 'techcode') to ((Current research level of Rhme (Unexpected type: 'techcode') for (Picked player)) + 1) for (Picked player)
Player - Set the current research level of Rhra (Unexpected type: 'techcode') to ((Current research level of Rhra (Unexpected type: 'techcode') for (Picked player)) + 1) for (Picked player)
Team 1 Defeated
Events
Unit - Hall of Justice 0008 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All enemies of Player 5 (Yellow).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 10 (Light Blue).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
Team 2 Defeated
Events
Unit - Hall of Justice 0022 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All enemies of Player 10 (Light Blue).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 5 (Yellow).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
Wernos Gauntlet
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by (Hero manipulating item) of type Zed's Book)) Equal to Zed's Book
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item carried by (Hero manipulating item) of type Staff of Silence) is owned) Equal to True
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Zed's Book)
Item - Remove (Item carried by (Hero manipulating item) of type Staff of Silence)
Item - Create Werno's Gauntlet at (Position of (Hero manipulating item))
Hero - Give (Last created item) to (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\Items\AIem\AIemTarget.mdl
Else - Actions
Wernos Gauntlet Copy
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by (Hero manipulating item) of type Staff of Silence)) Equal to Staff of Silence
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item carried by (Hero manipulating item) of type Zed's Book) is owned) Equal to True
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Zed's Book)
Item - Remove (Item carried by (Hero manipulating item) of type Staff of Silence)
Item - Create Werno's Gauntlet at (Position of (Hero manipulating item))
Hero - Give (Last created item) to (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\Items\AIem\AIemTarget.mdl
Else - Actions
Boots of Haste
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by (Hero manipulating item) of type Boots of Speed)) Equal to Boots of Speed
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item carried by (Hero manipulating item) of type Staff of Teleportation) is owned) Equal to True
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Boots of Speed)
Item - Remove (Item carried by (Hero manipulating item) of type Staff of Teleportation)
Item - Create Boots of Haste at (Position of (Hero manipulating item))
Hero - Give (Last created item) to (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\Items\AIem\AIemTarget.mdl
Else - Actions
Boots of Haste Copy
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by (Hero manipulating item) of type Staff of Teleportation)) Equal to Staff of Teleportation
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item carried by (Hero manipulating item) of type Boots of Speed) is owned) Equal to True
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Boots of Speed)
Item - Remove (Item carried by (Hero manipulating item) of type Staff of Teleportation)
Item - Create Boots of Haste at (Position of (Hero manipulating item))
Hero - Give (Last created item) to (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\Items\AIem\AIemTarget.mdl
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.