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
IoD Beta V1.0.w3x
Variables
Gates
Untitled Trigger 001
Gate1Open
Gate2Open
Text
ShoreText
StrongholdText
ThroneRoomText
AutoLearnUpgrade
Heal
Hero Choose
PriestChoose
PyromancerChoose
SoldierChoose
HunterChoose
ProtectorChoose
Creep Revive System
Creep Revival System Initialization
Revive Creeps 1 by 1
Hero Revive System
Hero Respawn
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
Creep_X
real
Yes
Creep_Y
real
Yes
Interger
integer
No
loc
location
No
Player_Group
force
Yes
Respawn_Region
rect
Yes
unit
unit
Yes
Untitled Trigger 001
Events
Unit - A unit enters RivendilVillageGateOpen <gen>
Conditions
Actions
Destructible - Open Gate 0000 <gen>
Gate1Open
Events
Unit - A unit enters GateOpen1 <gen>
Conditions
Actions
Destructible - Open Massive Ruined Gate 0108 <gen>
Gate2Open
Events
Unit - A unit enters GateOpen2A <gen>
Unit - A unit enters GateOpen2B <gen>
Unit - A unit enters GateOpen2C <gen>
Conditions
Actions
Destructible - Open Ruined Gate 0050 <gen>
ShoreText
Events
Unit - A unit enters HeroSpawn <gen>
Conditions
Actions
Floating Text - Create floating text that reads Rivendil CoastLevel's 1 - 5 at (Center of ShoreText <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
StrongholdText
Events
Unit - A unit enters HeroSpawn <gen>
Conditions
Actions
Floating Text - Create floating text that reads Karak'To StrongholdLevel's 6 - 10 at (Center of KarakToStronghold <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
ThroneRoomText
Events
Unit - A unit enters HeroSpawn <gen>
Conditions
Actions
Floating Text - Create floating text that reads Stronghold Throne RoomLevel's 10 - 15 Reccomended at (Center of ThroneRoomText <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Heal
Events
Conditions
Actions
PriestChoose
Events
Unit - A unit enters PriestChoose <gen>
Conditions
Actions
Unit - Kill (Entering unit)
Unit - Create 1 . Priest for (Owner of (Entering unit)) at (Center of HeroSpawn <gen>) facing Default building facing degrees
PyromancerChoose
Events
Unit - A unit enters PyromancerChoose <gen>
Conditions
Actions
Unit - Kill (Entering unit)
Unit - Create 1 . Pyromancer for (Owner of (Entering unit)) at (Center of HeroSpawn <gen>) facing Default building facing degrees
SoldierChoose
Events
Unit - A unit enters SoldierChoose <gen>
Conditions
Actions
Unit - Kill (Entering unit)
Unit - Create 1 . Soldier for (Owner of (Entering unit)) at (Center of HeroSpawn <gen>) facing Default building facing degrees
HunterChoose
Events
Unit - A unit enters HunterChoose <gen>
Conditions
Actions
Unit - Kill (Entering unit)
Unit - Create 1 . Hunter for (Owner of (Entering unit)) at (Center of HeroSpawn <gen>) facing Default building facing degrees
ProtectorChoose
Events
Unit - A unit enters ProtectorChoose <gen>
Conditions
Actions
Unit - Kill (Entering unit)
Unit - Create 1 . Protector for (Owner of (Entering unit)) at (Center of HeroSpawn <gen>) facing Default building facing degrees
Creep Revival System Initialization
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Set Variable Set Interger = (Interger + 1)
Unit - Set the custom value of (Picked unit) to Interger
Custom script: set udg_Creep_X[udg_Interger] = GetUnitX(GetEnumUnit())
Custom script: set udg_Creep_Y[udg_Interger] = GetUnitY(GetEnumUnit())
Revive Creeps 1 by 1
Events
Unit - A unit Dies
Conditions
((Owner of (Triggering unit)) Equal to Player 12 (Brown)) and (((Triggering unit) is Summoned) Not equal to True)
Actions
Wait ((Real((Level of (Triggering unit)))) x 1.00) game-time seconds
Unit - Create 1 . (Unit-type of (Triggering unit)) for Player 12 (Brown) at ((Center of (Entire map)) offset by (Creep_X[(Custom value of (Triggering unit))], Creep_Y[(Custom value of (Triggering unit))])) facing (Random angle) degrees
Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
Hero Respawn
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait ((Real((Level of (Triggering unit)))) x 2.00) seconds
Hero - Instantly revive (Triggering unit) at (Center of HeroSpawn <gen>) , Show revival graphics
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.