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
Deny System by grayback222.w3x
Variables
Deny system
Denies
Dkill
Game system
Time Creeps
Creeps respawn
Creeps move red
Creeps move blue
hero
WIN red
WIN blue
greet
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
Denies
Events
Unit - A unit Is issued an order targeting an object
Conditions
(Issued order) Equal to (Order(attack))
((Target unit of issued order) belongs to an ally of (Owner of (Triggering unit)).) Equal to True
((Target unit of issued order) is A Hero) Not equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Target unit of issued order)) Less than or equal to ((Max life of (Target unit of issued order)) x (2.00 / 3.00))
Then - Actions
Else - Actions
For each (Integer A) from 1 to 3 , do (Actions)
Loop - Actions
Unit - Order (Triggering unit) to Hold Position .
Wait 0.10 seconds
Dkill
Events
Unit - A unit Dies
Conditions
((Triggering unit) belongs to an ally of (Owner of (Killing unit)).) Equal to True
Actions
Floating Text - Create floating text that reads ! at (Position of (Triggering unit)) with Z offset 75.00 , using font size 10 , color ( 100 %, 1.00 %, 1.00 %), and 0 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) belongs to an ally of (Owner of (Killing unit)).) Equal to True
((Triggering unit) is A structure) Equal to True
Then - Actions
Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + has denied a tower.)
Else - Actions
Time Creeps
Events
Time - Elapsed game time is 6.00 seconds
Conditions
Actions
Trigger - Turn on Creeps_respawn <gen>
Creeps respawn
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Footman for Player 3 (Teal) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 2 . Priest for Player 3 (Teal) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 5 . Footman for Player 4 (Purple) at (Center of Region_003 <gen>) facing Default building facing degrees
Unit - Create 2 . Priest for Player 4 (Purple) at (Center of Region_004 <gen>) facing Default building facing degrees
Creeps move red
Events
Unit - A unit enters Region_001 <gen>
Unit - A unit enters Region_002 <gen>
Conditions
((Entering unit) belongs to an ally of Player 3 (Teal).) Equal to True
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_005 <gen>)
Creeps move blue
Events
Unit - A unit enters Region_003 <gen>
Unit - A unit enters Region_004 <gen>
Conditions
((Entering unit) belongs to an ally of Player 4 (Purple).) Equal to True
Actions
Unit - Order (Entering unit) to Attack-Move To . (Center of Region_006 <gen>)
hero
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Hero - Instantly revive (Triggering unit) at (Center of Region_000 <gen>) , Hide revival graphics
WIN red
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Castle 0006 <gen>)
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
WIN blue
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Castle 0000 <gen>)
Actions
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
greet
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: Deny System Created by grayback222----------------------------------------------------------------------------Creeps will spawn every 15 secs----------------------------------------------------------------Enjoy the game
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.