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
(3)Ashenvale's Strike.w3x
Variables
Initialization
Melee Initialization
Players
Setup Players
Run Cumputer Player 1
Run Cumputer Player 2
Run Cumputer Player 3
Setup Enemy
Quest
Quest Main
Quest Dragons
Quest Dragons Check
Name
Type
is_array
initial_value
DragonQuest
quest
No
DragonRequirement
questitem
No
MainQuest
quest
No
QuestRequirement
questitem
No
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 - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Enforce victory/defeat conditions (for all players)
Trigger - Run Setup_Players <gen> (checking conditions)
Trigger - Run Setup_Enemy <gen> (checking conditions)
Setup Players
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
Then - Actions
Unit Group - Pick every unit in (Units in Creeps_1 <gen> owned by Neutral Hostile) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Melee Game - Create (Race of Player 1 (Red)) starting units for Player 1 (Red) at (Player 1 (Red) start location) ( Include Heroes)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
Unit Group - Pick every unit in (Units in Creeps_2 <gen> owned by Neutral Hostile) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Melee Game - Create (Race of Player 2 (Blue)) starting units for Player 2 (Blue) at (Player 2 (Blue) start location) ( Include Heroes)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Unit Group - Pick every unit in (Units in Creeps_3 <gen> owned by Neutral Hostile) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Melee Game - Create (Race of Player 3 (Teal)) starting units for Player 3 (Teal) at (Player 3 (Teal) start location) ( Include Heroes)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) controller) Equal to Computer
Then - Actions
Trigger - Run Run_Cumputer_Player_1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 2 (Blue) controller) Equal to Computer
Then - Actions
Trigger - Run Run_Cumputer_Player_2 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 3 (Teal) controller) Equal to Computer
Then - Actions
Trigger - Run Run_Cumputer_Player_3 <gen> (checking conditions)
Else - Actions
Do nothing
Run Cumputer Player 1
Events
Conditions
Actions
If ((Race of Player 1 (Red)) Equal to Human) then do (Start melee AI script for Player 1 (Red): human.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 1 (Red)) Equal to Orc) then do (Start melee AI script for Player 1 (Red): orc.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 1 (Red)) Equal to Undead) then do (Start melee AI script for Player 1 (Red): undead.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 1 (Red)) Equal to Night Elf) then do (Start melee AI script for Player 1 (Red): elf.ai (Unexpected type: 'aiscript')) else do (Do nothing)
Run Cumputer Player 2
Events
Conditions
Actions
If ((Race of Player 2 (Blue)) Equal to Human) then do (Start melee AI script for Player 2 (Blue): human.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 2 (Blue)) Equal to Orc) then do (Start melee AI script for Player 2 (Blue): orc.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 2 (Blue)) Equal to Undead) then do (Start melee AI script for Player 2 (Blue): undead.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 2 (Blue)) Equal to Night Elf) then do (Start melee AI script for Player 2 (Blue): elf.ai (Unexpected type: 'aiscript')) else do (Do nothing)
Run Cumputer Player 3
Events
Conditions
Actions
If ((Race of Player 3 (Teal)) Equal to Human) then do (Start melee AI script for Player 3 (Teal): human.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 3 (Teal)) Equal to Orc) then do (Start melee AI script for Player 3 (Teal): orc.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 3 (Teal)) Equal to Undead) then do (Start melee AI script for Player 3 (Teal): undead.ai (Unexpected type: 'aiscript')) else do (Do nothing)
If ((Race of Player 3 (Teal)) Equal to Night Elf) then do (Start melee AI script for Player 3 (Teal): elf.ai (Unexpected type: 'aiscript')) else do (Do nothing)
Setup Enemy
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . Furblog Castle for Player 4 (Purple) at (Center of Enemy_1 <gen>) facing Default building facing degrees
Unit - Create 5 . Furblog Peasant for Player 4 (Purple) at (Center of Workers_1 <gen>) facing Default building facing degrees
AI - Start melee AI script for Player 4 (Purple) : war3mapImported\Furblog Tribe.ai (Unexpected type: 'aiscript')
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . Stayer Castle for Player 5 (Yellow) at (Center of Enemy_2 <gen>) facing Default building facing degrees
Unit - Create 5 . Stayer Peon for Player 5 (Yellow) at (Center of Workers_2 <gen>) facing Default building facing degrees
AI - Start melee AI script for Player 5 (Yellow) : war3mapImported\Stayer Army.ai (Unexpected type: 'aiscript')
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Unit - Create 1 . Murlock Temple for Player 6 (Orange) at (Center of Enemy_3 <gen>) facing Default building facing degrees
Unit - Create 5 . Murlock Slave for Player 6 (Orange) at (Center of Workers_3 <gen>) facing Default building facing degrees
AI - Start melee AI script for Player 6 (Orange) : war3mapImported\Murlock Kingdom.ai (Unexpected type: 'aiscript')
Else - Actions
Do nothing
Quest Main
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled Creaps's Strike with the description Destroy all creap players before they destroy you. , using icon path ReplaceableTextures\CommandButtons\BTNEtherealFormOn.blp
Set Variable Set MainQuest = (Last created quest)
Quest - Create a quest requirement for MainQuest with the description Destroy all creap players
Set Variable Set QuestRequirement = (Last created quest requirement)
Quest - Flash the quest dialog button
Quest Dragons
Events
Time - Elapsed game time is 100.00 seconds
Conditions
Actions
Quest - Create a Required quest titled Dragons with the description Defeat the Dragons that live some where in this region. , using icon path ReplaceableTextures\CommandButtons\BTNGreenDragon.blp
Set Variable Set DragonQuest = (Last created quest)
Quest - Create a quest requirement for DragonQuest with the description Slay the Dragons
Set Variable Set DragonRequirement = (Last created quest requirement)
Quest - Flash the quest dialog button
Trigger - Turn on Quest_Dragons_Check <gen>
Quest Dragons Check
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Green Dragon units owned by Neutral Hostile) Equal to 0
Then - Actions
Item - Create Mask of Death at (Center of Dragon_Quest_Reword <gen>)
Game - Display to (All players controlled by a User player) the text: Item created
Cinematic - Ping minimap for (All players controlled by a User player) at (Center of Dragon_Quest_Reword <gen>) for 3.00 seconds
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.