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
zzzz.w3x
Variables
Initialization
Killafterbuy
Victory
After ticket
Camera
Finalboss
Bonus
Testunit
Metaknight
Melee Initialization
Welcome
Selecter
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
Ticket
itemcode
No
I000
Unitgroup
group
No
Killafterbuy
Events
Unit - Tavern 0000 <gen> Sells a unit
Conditions
Actions
Unit - Kill (Buying unit)
Victory
Events
Unit - A unit owned by Player 1 (Red) . Acquires an item
Unit - Overlord 0064 <gen> Dies
Conditions
gg_item_I000_0139 Equal to (Item carried by (Triggering unit) of type Ticket)
Actions
Unit - Make Metaknight 0063 <gen> Vulnerable
Unit - Change ownership of Metaknight 0063 <gen> to Neutral Hostile and Retain color
Unit - Move (Triggering unit) instantly to (Center of Endtele <gen>)
Unit - Remove Reincarnation from Metaknight 0063 <gen>
After ticket
Events
Unit - Overlord 0064 <gen> Dies
Conditions
Actions
Neutral Building - Set Way Gate 0163 <gen> destination to (Center of Endtele <gen>)
Neutral Building - Enable Way Gate 0163 <gen>
Neutral Building - Enable Way Gate 0164 <gen>
Camera
Events
Unit - Tavern 0000 <gen> Sells a unit
Conditions
Actions
Camera - Lock camera target for (Owner of (Sold unit)) to (Sold unit) , offset by ( 0 , 0 ) using Default rotation
Finalboss
Events
Unit - Metaknight 0063 <gen> Takes damage
Conditions
(Life of Overlord 0064 <gen>) Equal to 0.00
Actions
Floating Text - Hide (Last created floating text) for (All players)
Unit - Set life of Metaknight 0063 <gen> to 2000.00
Floating Text - Create floating text that reads YOU HAVE THE TICKET! HOW DID YOU GET IT??? GIVE IT TO ME!!! above Metaknight 0063 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Bonus
Events
Time - Every 3.00 seconds of game time
Conditions
(Life of Metaknight 0063 <gen>) Equal to 0.00
Actions
Unit - Create 2 Rabbit for Player 1 (Red) at (Position of Rabbit 0086 <gen>) facing (Position of (Triggering unit))
Testunit
Events
Player - Player 1 (Red) types a chat message containing test (Unexpected type: 'stringnoformat') as An exact match
Conditions
(Color of (Triggering player)) Equal to Red
Actions
Unit - Change ownership of Alchemist 0141 <gen> to Player 1 (Red) and Change color
Unit - Change ownership of Hippogryph Rider 0140 <gen> to Player 1 (Red) and Change color
Metaknight
Events
Unit - Metaknight 0063 <gen> Is selected
Conditions
Actions
Floating Text - Create floating text that reads NO TICKETS FOR YOU! above Metaknight 0063 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
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)
Welcome
Events
Unit - A unit enters Welcome <gen>
Conditions
((Owner of (Triggering unit)) controller) Equal to User
Actions
Game - Display to (All players) for 7.00 seconds the text: Welcome to the Dungeon of IDTech Campers!
Selecter
Events
Unit - A unit enters Spawn <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to Wisp
Actions
Unit - Move (Triggering unit) instantly to (Center of Endtele <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.