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)Creeps in Forestwalk.w3x
Variables
Initialization
Melee Initialization
Credit List
CreateDialog
ButtonClicked
Name
Type
is_array
initial_value
newWorkerLoc
location
No
No
button
No
PickRace
dialog
No
Yes
button
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 - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Credit List
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Quest - Create a Required quest titled Credit List with the description Thanks to Uncle Fester for the Troll Ranger model I used here. All other exported icons are from screenshots of default models. Other exported models are made by me.|cffffcc00Enjoy Playing|r , using icon path ReplaceableTextures\CommandButtons\BTNFarmNew.blp
CreateDialog
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Dialog - Create a dialog button for PickRace labelled Yes
Set Variable Set Yes = (Last created dialog Button)
Dialog - Create a dialog button for PickRace labelled No
Set Variable Set No = (Last created dialog Button)
Dialog - Change the title of PickRace to Play as Hostile Units?
Dialog - Show PickRace for Player 1 (Red)
ButtonClicked
Events
Dialog - A dialog button is clicked for PickRace
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Yes
Then - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to User
Then - Actions
Set Variable Set newWorkerLoc = ((Picked player) start location)
-------- For undead, we have to add one more worker because by default, there are only three acolytes given plus one ghoul --------
-------- So, to make all five workers balancing from other races, we have to create another worker --------
If ((Race of (Picked player)) Equal to Undead) then do (Create 1.Troll Worker for (Picked player) at newWorkerLoc facing Default building facing degrees) else do (Do nothing)
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.