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
War of Animals.w3x
Variables
Dialog
ShowDialog
Make
DoDialog
Quest
Win
Quest
win fury
Win 2
Attack
Light to Dark
Attack to Dark
Dark To Light
Attack to Light
Killed
Fury Gold
Lights Gold
Requerments
Large Paw
Manpulate Spider
LargPaw
Larg Paw
Manipulate Large Paw
Julin
julin
Manipulate Julin
Mask Of Harvey
Mask of Harvey
Manipulate Harvey
Divine HardCure
Divine HardCure
Manipulate Divine hardCure
Creep
Install
First
First Creeps Klled
Second
Second Creeps Killed
Third
Third Creeps Killed
Fourth
FourthCreep Killed
Hello Guys Have Fun
Name
Type
is_array
initial_value
Creeps
integer
Yes
dIALOGbUT
button
Yes
Heroes
unitcode
Yes
MyDIALOG
dialog
No
One second into the game, the "Choose a Hero" dialog pops up
ShowDialog
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
-------- Setup for Dialog 1 --------
Dialog - Clear MyDIALOG
Dialog - Change the title of MyDIALOG to Choose Animal
Dialog - Create a dialog button for MyDIALOG labelled Cat
Set Variable Set dIALOGbUT[1] = (Last created dialog Button)
Dialog - Create a dialog button for MyDIALOG labelled Dog
Set Variable Set dIALOGbUT[2] = (Last created dialog Button)
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Dialog - Show MyDIALOG for (Picked player)
Make
Events
Map initialization
Conditions
Actions
Set Variable Set Heroes[1] = "Hpal"
Set Variable Set Heroes[2] = "H000"
A button was clicked, there's three choices:
1. Switch to page 2
2. Switch to page 1
3. Create a Hero
DoDialog
Events
Dialog - A dialog button is clicked for MyDIALOG
Conditions
Actions
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to dIALOGbUT[(Integer A)]
Then - Actions
Unit - Create 1 . Heroes[(Integer A)] for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Selection - Select (Last created unit) for (Triggering player)
Game - Display to (Player group((Triggering player))) the text: (Name of (Last created unit))
Else - Actions
Win
Events
Unit - Lights 0005 <gen> Dies
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Defeat Player 6 (Orange) with the message: Defeat!
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Quest
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Quest - Create a Required quest titled Win with the description Lights- To win you Should Destroy the Castle of FuryFuy-To win you Should Destroy the Tree of Lights , using icon path ReplaceableTextures\CommandButtons\BTNAdvancedRockTower.blp
Quest - Create a Optional quest titled Secrets with the description There are Lots of Item there and the Recipe Shop is on The Forest.... Find It..... , using icon path ReplaceableTextures\CommandButtons\BTNAdvancedRockTower.blp
Win 2
Events
Unit - Fury 0007 <gen> Dies
Conditions
Actions
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Light to Dark
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Defender for Player 8 (Pink) at (Center of Attack_Light <gen>) facing Default building facing degrees
Unit - Create 1 . Oracle for Player 8 (Pink) at (Center of Attack_Light <gen>) facing Default building facing degrees
Attack to Dark
Events
Unit - A unit enters Attack_Light <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 8 (Pink)
((Unit-type of (Triggering unit)) Equal to Defender) or ((Unit-type of (Triggering unit)) Equal to Oracle)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Random point in Attack_Fury <gen>)
Dark To Light
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Defender for Player 7 (Green) at (Center of Attack_Fury <gen>) facing Default building facing degrees
Unit - Create 1 . Oracle for Player 7 (Green) at (Center of Attack_Fury <gen>) facing Default building facing degrees
Attack to Light
Events
Unit - A unit enters Attack_Fury <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
((Unit-type of (Triggering unit)) Equal to Defender) or ((Unit-type of (Triggering unit)) Equal to Oracle)
Actions
Unit - Order (Triggering unit) to Attack-Move To . (Random point in Attack_Light <gen>)
Fury Gold
Events
Unit - A unit owned by Player 8 (Pink) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Defender
((Unit-type of (Dying unit)) Equal to Defender) or ((Unit-type of (Dying unit)) Equal to Oracle)
Actions
Player - Add 50 to (Owner of (Killing unit)) . Current gold
Lights Gold
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Defender
Actions
Player - Add 50 to (Owner of (Killing unit)) . Current gold
Large Paw
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Slippers of Spiderman:)
Actions
Item - Remove (Item being manipulated)
Hero - Create Slippers of Spiderman Recipe and give it to (Hero manipulating item)
Manpulate Spider
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Boots of Quel'Thalas +6) Equal to True
((Triggering unit) has an item of type Boots of Speed) Equal to True
((Triggering unit) has an item of type Slippers of Spiderman Recipe) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Slippers of Spiderman Recipe)
Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
Item - Remove (Item carried by (Triggering unit) of type Boots of Quel'Thalas +6)
Hero - Create Slippers of Spiderman and give it to (Hero manipulating item)
Larg Paw
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Large Paw 50 :)
Actions
Item - Remove (Item being manipulated)
Hero - Create Large Paw 50 :) and give it to (Hero manipulating item)
Manipulate Large Paw
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Frostguard) Equal to True
((Triggering unit) has an item of type Teleporter) Equal to True
((Triggering unit) has an item of type Large Paw 50 :)) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Large Paw 50 :))
Item - Remove (Item carried by (Triggering unit) of type Teleporter)
Item - Remove (Item carried by (Triggering unit) of type Frostguard)
Hero - Create Large Paw +50 and give it to (Hero manipulating item)
julin
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Julin :)
Actions
Item - Remove (Item being manipulated)
Hero - Create Julin Recipes and give it to (Hero manipulating item)
Manipulate Julin
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Ring of Protection +5) Equal to True
((Triggering unit) has an item of type Orb of Frost) Equal to True
((Triggering unit) has an item of type Julin Recipes) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Ring of Protection +5)
Item - Remove (Item carried by (Triggering unit) of type Orb of Frost)
Item - Remove (Item carried by (Triggering unit) of type Julin Recipes)
Hero - Create Julin and give it to (Hero manipulating item)
Mask of Harvey
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Mask of Harvey :)
Actions
Item - Remove (Item being manipulated)
Hero - Create Mask of Harvey Recipes :) and give it to (Hero manipulating item)
Manipulate Harvey
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Cloak of Flames) Equal to True
((Triggering unit) has an item of type Cloak of Shadows) Equal to True
((Triggering unit) has an item of type Mask of Harvey Recipes :)) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Cloak of Flames)
Item - Remove (Item carried by (Triggering unit) of type Cloak of Shadows)
Item - Remove (Item carried by (Triggering unit) of type Mask of Harvey Recipes :))
Hero - Create Mask of Harvey and give it to (Hero manipulating item)
Divine HardCure
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Divine HardCure :)
Actions
Item - Remove (Item being manipulated)
Hero - Create Divine HardCure Recipes and give it to (Hero manipulating item)
Manipulate Divine hardCure
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Divine HardCure Recipes) Equal to True
((Triggering unit) has an item of type Neclace Of HardCure) Equal to True
((Triggering unit) has an item of type Gloves of HardCure) Equal to True
((Triggering unit) has an item of type Large Paw +50) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Divine HardCure Recipes)
Item - Remove (Item carried by (Triggering unit) of type Gloves of HardCure)
Item - Remove (Item carried by (Triggering unit) of type Neclace Of HardCure)
Item - Remove (Item carried by (Triggering unit) of type Large Paw +50)
Hero - Create Divine HardCure and give it to (Hero manipulating item)
Install
Events
Map initialization
Conditions
Actions
Set Variable Set Creeps[1] = "0"
Set Variable Set Creeps[2] = "0"
Set Variable Set Creeps[3] = "0"
Set Variable Set Creeps[4] = "0"
First
Events
Time - Every (Random real number between 10.00 and 20.00) seconds of game time
Conditions
Creeps[1] Equal to 0
Actions
Unit - Create 3 . Mud Golem for Neutral Hostile at (Center of Creep <gen>) facing Default building facing degrees
Set Variable Set Creeps[1] = "1"
First Creeps Klled
Events
Time - Every 0.01 seconds of game time
Conditions
(Number of living Mud Golem units owned by Neutral Hostile) Equal to 0
Actions
Set Variable Set Creeps[1] = "0"
Second
Events
Time - Every (Random real number between 10.00 and 20.00) seconds of game time
Conditions
Creeps[2] Equal to 0
Actions
Unit - Create 3 . Green Dragon for Neutral Hostile at (Center of Creep_1 <gen>) facing Default building facing degrees
Set Variable Set Creeps[2] = "1"
Second Creeps Killed
Events
Time - Every 0.01 seconds of game time
Conditions
(Number of living Green Dragon units owned by Neutral Hostile) Equal to 0
Actions
Set Variable Set Creeps[2] = "0"
Third
Events
Time - Every (Random real number between 10.00 and 20.00) seconds of game time
Conditions
Creeps[3] Equal to 0
Actions
Unit - Create 3 . Red Dragon for Neutral Hostile at (Center of Creep_2 <gen>) facing Default building facing degrees
Set Variable Set Creeps[3] = "1"
Third Creeps Killed
Events
Time - Every 0.01 seconds of game time
Conditions
(Number of living Red Dragon units owned by Neutral Hostile) Equal to 0
Actions
Set Variable Set Creeps[3] = "0"
Fourth
Events
Time - Every (Random real number between 10.00 and 20.00) seconds of game time
Conditions
Creeps[4] Equal to 0
Actions
Unit - Create 3 . Taloloy for Neutral Hostile at (Center of Creep_3 <gen>) facing Default building facing degrees
Set Variable Set Creeps[4] = "1"
FourthCreep Killed
Events
Time - Every 0.01 seconds of game time
Conditions
(Number of living Taloloy units owned by Neutral Hostile) Equal to 0
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.