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
Dear Deer by silver_fight.w3x
Variables
Init
Choose Wolf Count
Choosed Integer
Init
Create Stags
Death
Switch
Win
Defeat
Stack
Secret
Rat Run
Rat Remove
Name
Type
is_array
initial_value
_1
button
No
_2
button
No
_3
button
No
ChooseCount
dialog
No
LivesLeft
integer
No
StagsToWin
integer
No
Choose Wolf Count
Events
Map initialization
Conditions
Actions
Unit - Pause Wolf 0020 <gen>
Unit - Pause Wolf 0031 <gen>
Unit - Pause Wolf 0032 <gen>
Wait 0.01 seconds
Dialog - Change the title of ChooseCount to Please select count of wolves.
Dialog - Create a dialog button for ChooseCount labelled 1 Wolf (Easy)
Set Variable Set _1 = (Last created dialog Button)
Dialog - Create a dialog button for ChooseCount labelled 2 Wolves (Normal)
Set Variable Set _2 = (Last created dialog Button)
Dialog - Create a dialog button for ChooseCount labelled 3 Wolves (Hard)
Set Variable Set _3 = (Last created dialog Button)
Dialog - Show ChooseCount for Player 1 (Red)
Choosed Integer
Events
Dialog - A dialog button is clicked for ChooseCount
Conditions
Actions
Trigger - Run Init <gen> (checking conditions)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to _1
Then - Actions
Unit - Remove Wolf 0032 <gen> from the game
Unit - Remove Wolf 0031 <gen> from the game
Unit - Unpause Wolf 0020 <gen>
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to _2
Then - Actions
Unit - Remove Wolf 0032 <gen> from the game
Unit - Unpause Wolf 0020 <gen>
Unit - Unpause Wolf 0031 <gen>
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to _3
Then - Actions
Unit - Unpause Wolf 0020 <gen>
Unit - Unpause Wolf 0031 <gen>
Unit - Unpause Wolf 0032 <gen>
Else - Actions
Do nothing
Init
Events
Conditions
Actions
Game - Set the time of day to 14.00
Unit - Set the custom value of Rat-Helper 0004 <gen> to 0
Quest - Display to (All players) the Quest Update message: You have new quest
Quest - Create a Required quest titled Save Deers with the description You must save 50 small deers. , using icon path ReplaceableTextures\CommandButtons\BTNStag.blp
Quest - Create a Optional quest titled Credits with the description , using icon path ReplaceableTextures\CommandButtons\BTNAcorn.blp
Quest - Create a quest requirement for (Last created quest) with the description Map by silver_fight
Quest - Create a quest requirement for (Last created quest) with the description Heart icon by D.O.G.
Quest - Flash the quest dialog button
Selection - Select Deer 0016 <gen>
Camera - Pan camera for Player 1 (Red) to (Position of Deer 0016 <gen>) over 0.20 seconds
Cinematic - Turn subtitle display override On
Player - Set name of Player 3 (Teal) to Rat - Helper
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Dog 0043 <gen> using Abilities\Spells\Undead\Sleep\SleepTarget.mdl
Create Stags
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Item - Create Small Deer (Command Aura) at (Random point in Rect_009 <gen>)
Special Effect - Create a special effect at (Position of (Last created item)) using Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl
Special Effect - Destroy (Last created special effect)
Wait 5.00 seconds
Item - Create Small Deer (Command Aura) at (Random point in Rect_000 <gen>)
Special Effect - Create a special effect at (Position of (Last created item)) using Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl
Special Effect - Destroy (Last created special effect)
Death
Events
Unit - Deer 0016 <gen> Dies
Conditions
Actions
Wait 2 seconds
Item - Set charges remaining in (Item carried by Deer 0016 <gen> of type Lives) to ((Charges remaining in (Item carried by Deer 0016 <gen> of type Lives)) - 1)
Destructible - Resurrect Foot Switch 0002 <gen> with (Max life of Foot Switch 0002 <gen>) life and Show birth animation
Trigger - Turn on Switch <gen>
Hero - Instantly revive Deer 0016 <gen> at (Position of Foot Switch 0002 <gen>) , Show revival graphics
Selection - Select Deer 0016 <gen>
Camera - Pan camera for Player 1 (Red) to (Position of Deer 0016 <gen>) over 0.20 seconds
Switch
Events
Unit - A unit leaves Switch <gen>
Conditions
(Leaving unit) Equal to Deer 0016 <gen>
Actions
Trigger - Turn off (This trigger)
Destructible - Kill Foot Switch 0002 <gen>
Win
Events
Unit - Deer 0016 <gen> Acquires an item
Conditions
(Charges remaining in (Item carried by Deer 0016 <gen> of type Small Deer (Command Aura))) Greater than or equal to 50
Actions
Wait 2 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Defeat
Events
Unit - Deer 0016 <gen> Dies
Conditions
(Charges remaining in (Item carried by Deer 0016 <gen> of type Lives)) Equal to 1
Actions
Wait 2 seconds
Game - Defeat Player 1 (Red) with the message: Game Over!
Stack
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
(Item being manipulated) Not equal to (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated)))
Actions
Item - Set charges remaining in (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated))) to ((Charges remaining in (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated)))) + (Charges remaining in (Item being manipulated)))
Hero - Drop (Item being manipulated) from (Hero manipulating item) .
Item - Remove (Item being manipulated)
Secret
Events
Player - Player 1 (Red) Selects a unit
Conditions
(Triggering unit) Equal to Rat-Helper 0004 <gen>
Actions
Selection - Select Deer 0016 <gen>
Unit - Set the custom value of Rat-Helper 0004 <gen> to ((Custom value of Rat-Helper 0004 <gen>) + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of Rat-Helper 0004 <gen>) Equal to 1
Then - Actions
Cinematic - Send transmission to (All players) from Rat-Helper 0004 <gen> named Rat - Helper : Play pi <gen> and display What? . Modify duration: Add 0 seconds and Wait
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of Rat-Helper 0004 <gen>) Equal to 2
Then - Actions
Cinematic - Send transmission to (All players) from Rat-Helper 0004 <gen> named Rat - Helper : Play pi <gen> and display What?!! . Modify duration: Add 0 seconds and Wait
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of Rat-Helper 0004 <gen>) Equal to 3
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Rat-Helper 0004 <gen> named Rat - Helper : Play pi <gen> and display What you need from me ??!! . Modify duration: Add 0 seconds and Wait
Cinematic - Send transmission to (All players) from Rat-Helper 0004 <gen> named Rat - Helper : Play pi <gen> and display Help! Crazy deer want to kill me! Help! . Modify duration: Add 0 seconds and Wait
Unit - Order Rat-Helper 0004 <gen> to Attack . Empty Barrel 0274 <gen>
Else - Actions
Do nothing
Rat Run
Events
Destructible - Empty Barrel 0274 <gen> dies
Conditions
Actions
Trigger - Turn off (This trigger)
Unit - Order Rat-Helper 0004 <gen> to Move To . (Center of Rect_021 <gen>)
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.