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
WitchesAndDemons-Ep2.w3x
Variables
Initialization
citizens move
Melee Initialization
shadow explode
belthazor flame
lose
ally blink
player actions
initial hints
spawn item
picked item
find dems
summon and win
witches
wander
teleport home
react jaina
react xenia
react aviva
rescue dems
go to circle
rem1
rem2
rem3
rem4
rem5
resc1
resc2
resc3
resc4
resc5
resc6
resc7
Name
Type
is_array
initial_value
citizens move
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
Unit - Order (Random unit from (Units owned by Player 3 (Teal) of type Citizen (Female))) to Move To . (Random point in town1 <gen>)
Unit - Order (Random unit from (Units owned by Player 3 (Teal) of type Citizen (Male))) to Move To . (Random point in town1 <gen>)
Wait 4.00 game-time seconds
Unit - Order (Random unit from (Units owned by Player 3 (Teal) of type Citizen (Female))) to Move To . (Random point in town2 <gen>)
Unit - Order (Random unit from (Units owned by Player 3 (Teal) of type Citizen (Male))) to Move To . (Random point in town2 <gen>)
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)
Game - Set game speed to Fastest
Game - Lock the game speed
Game - Set the next level to Maps\WitchesAndDemons\WitchesAndDemons-Ep3.w3x
shadow explode
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Demon of Shadows
Actions
Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
belthazor flame
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacked unit)) Equal to Belthazor
Actions
Unit - Order (Attacked unit) to Neutral Brewmaster - Breath Of Fire . (Position of (Attacking unit))
lose
Events
Unit - Skeleton Demon 0019 <gen> Dies
Conditions
Actions
Wait 1.00 seconds
Game - Defeat Player 4 (Purple) with the message: Defeat!
ally blink
Events
Unit - Skeleton Demon 0009 <gen> Is attacked
Conditions
Actions
Trigger - Turn off (This trigger)
Special Effect - Create a special effect at (Position of (Attacked unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Unit - Move (Attacked unit) instantly to (Player 1 (Red) start location)
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:I am under attack. I go to a safe place. You can disctract the witches by attacking their altar, then run back instantly.
initial hints
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:Come to me, a ghost in the circle calls you.
spawn item
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 4 (Purple)
Actions
Trigger - Turn off (This trigger)
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Other\Charm\CharmTarget.mdl
Item - Create Demonic Sword at (Center of MasterSpawn <gen>)
Game - Display to (All players) the text: A VOICE FROM THE PORTAL:Here, take this item. Go to the town, find a guardian that carries a gem of true seeing that is needed to summon me on this world. Kill him and take the item. Be careful and stay away from the witches.
Wait 18.00 game-time seconds
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:You have no power to fight the witches, you have to stay alive and return with the gem of true seeing. You cannot resurrect since your ability is replaced with one that enables you to use items.
picked item
Events
Unit - Skeleton Demon 0019 <gen> Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gem of True Seeing
Actions
Trigger - Turn off (This trigger)
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:You have found it. Come back now to start summoning.
Trigger - Turn on find_dems <gen>
find dems
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Skeleton Demon (player)
Actions
Trigger - Turn off (This trigger)
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:Well done. We do not have enough energy to summon Javna. We need at least 5 demons to gather here. Go and find them. They are hiding from the witches. When you find them, return to the circle to begin summoning.
summon and win
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 4 (Purple)
Actions
Trigger - Turn off (This trigger)
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:Now we have everything. Summoning begins.
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
Wait 4.00 game-time seconds
Special Effect - Create a special effect at (Center of MasterSpawn <gen>) using Abilities\Spells\Undead\DarkRitual\DarkRitualTarget.mdl
Unit - Create 1 . Javna for Player 1 (Red) at (Center of MasterSpawn <gen>) facing 270.00 degrees
Game - Display to (All players) the text: JAVNA:Finally, I am here.
Wait 4.00 game-time seconds
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
wander
Events
Time - Every 90.00 seconds of game time
Conditions
Actions
Unit - Order Witch 0045 <gen> to Attack-Move To . (Random point in (Playable map area))
Wait 30.00 game-time seconds
Unit - Order Witch 0016 <gen> to Attack-Move To . (Random point in (Playable map area))
Wait 30.00 game-time seconds
Unit - Order Witch 0018 <gen> to Attack-Move To . (Random point in (Playable map area))
teleport home
Events
Unit - Altar of Witches 0044 <gen> Is attacked
Conditions
Actions
Trigger - Turn off (This trigger)
Wait 5.00 game-time seconds
Unit - Move Witch 0016 <gen> instantly to (Player 2 (Blue) start location)
Unit - Move Witch 0045 <gen> instantly to (Player 2 (Blue) start location)
Unit - Move Witch 0018 <gen> instantly to (Player 2 (Blue) start location)
Special Effect - Create a special effect at (Player 2 (Blue) start location) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
Wait 90.00 game-time seconds
Trigger - Turn on (This trigger)
react jaina
Events
Unit - A unit comes within 650.00 of Witch 0045 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Order Witch 0045 <gen> to Special Archimonde - Finger Of Death . (Triggering unit)
react xenia
Events
Unit - A unit comes within 590.00 of Witch 0018 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Order Witch 0018 <gen> to Attack . (Triggering unit)
react aviva
Events
Unit - A unit comes within 590.00 of Witch 0016 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Order Witch 0016 <gen> to Attack . (Triggering unit)
go to circle
Events
Time - Every 3.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Demon of Illusions) and do (Order (Picked unit) to Move To.(Center of MasterSpawn <gen>))
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Demon of Shadows) and do (Order (Picked unit) to Move To.(Center of MasterSpawn <gen>))
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Ghost Demon) and do (Order (Picked unit) to Move To.(Center of MasterSpawn <gen>))
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Warlock) and do (Order (Picked unit) to Move To.(Center of MasterSpawn <gen>))
rem1
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Demon of Illusions
(Unit-type of (Entering unit)) Equal to Demon of Shadows
(Unit-type of (Entering unit)) Equal to Ghost Demon
(Unit-type of (Entering unit)) Equal to Warlock
Actions
Wait 2 game-time seconds
Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Unit - Remove (Entering unit) from the game
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:The first one arrived.
Trigger - Turn off (This trigger)
Trigger - Turn on rem2 <gen>
rem2
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Demon of Illusions
(Unit-type of (Entering unit)) Equal to Demon of Shadows
(Unit-type of (Entering unit)) Equal to Ghost Demon
(Unit-type of (Entering unit)) Equal to Warlock
Actions
Wait 2 game-time seconds
Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Unit - Remove (Entering unit) from the game
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:The second one is here.
Trigger - Turn off (This trigger)
Trigger - Turn on rem3 <gen>
rem3
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Demon of Illusions
(Unit-type of (Entering unit)) Equal to Demon of Shadows
(Unit-type of (Entering unit)) Equal to Ghost Demon
(Unit-type of (Entering unit)) Equal to Warlock
Actions
Wait 2 game-time seconds
Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Unit - Remove (Entering unit) from the game
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:The third one arrived.
Trigger - Turn off (This trigger)
Trigger - Turn on rem4 <gen>
rem4
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Demon of Illusions
(Unit-type of (Entering unit)) Equal to Demon of Shadows
(Unit-type of (Entering unit)) Equal to Ghost Demon
(Unit-type of (Entering unit)) Equal to Warlock
Actions
Wait 2 game-time seconds
Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Unit - Remove (Entering unit) from the game
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:The fourth one arrived.
Trigger - Turn off (This trigger)
Trigger - Turn on rem5 <gen>
rem5
Events
Unit - A unit enters MasterSpawn <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Demon of Illusions
(Unit-type of (Entering unit)) Equal to Demon of Shadows
(Unit-type of (Entering unit)) Equal to Ghost Demon
(Unit-type of (Entering unit)) Equal to Warlock
Actions
Trigger - Turn off (This trigger)
Trigger - Turn off find_dems <gen>
Trigger - Turn on summon_and_win <gen>
Wait 2 game-time seconds
Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Unit - Remove (Entering unit) from the game
Sound - Play Hint <gen>
Game - Display to (All players) the text: RED SKELETON DEMON:The fifth is here. We have enough. Come back to start summoning.
resc1
Events
Unit - A unit enters resc1 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc1 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
Wait 90.00 game-time seconds
Unit - Create 1 . Warlock for Neutral Passive at (Center of resc1 <gen>) facing 180.00 degrees
Trigger - Turn on (This trigger)
resc2
Events
Unit - A unit enters resc2 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc2 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
Wait 90.00 game-time seconds
Unit - Create 1 . Warlock for Neutral Passive at (Center of resc2 <gen>) facing 90.00 degrees
Trigger - Turn on (This trigger)
resc3
Events
Unit - A unit enters resc3 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc3 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
Wait 90.00 game-time seconds
Unit - Create 1 . Ghost Demon for Neutral Passive at (Center of resc3 <gen>) facing 0.00 degrees
Trigger - Turn on (This trigger)
resc4
Events
Unit - A unit enters resc4 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc4 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
resc5
Events
Unit - A unit enters resc5 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc5 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
Wait 90.00 game-time seconds
Unit - Create 1 . Ghost Demon for Neutral Passive at (Center of resc5 <gen>) facing 0.00 degrees
Trigger - Turn on (This trigger)
resc6
Events
Unit - A unit enters resc6 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc6 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
resc7
Events
Unit - A unit enters resc7 <gen>
Conditions
(Entering unit) Equal to Skeleton Demon 0019 <gen>
Actions
Unit - Change ownership of (Random unit from (Units in resc7 <gen> owned by Neutral Passive)) to Player 1 (Red) and Change color
Trigger - Turn off (This trigger)
Wait 90.00 game-time seconds
Unit - Create 1 . Demon of Shadows for Neutral Passive at (Center of resc7 <gen>) facing 0.00 degrees
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.