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
The Haunted House.w3x
Variables
Partita
Tempo
Porte
Porta 1
Porta 2
Porta 3
Porta 4
Porta 5
Porta 6
Porta 7
Porta 8
Giocatori
Nomi
Colori
Zombie
Muovi Zombie
Vampiro
Pausa Vampiro
Scala Uomo
Scala Uomo su Pecora
Scala Uomo Ritorno
Scala Uomo su Pecora Ritorno
Scala Ritorno Disattivata 1
Balcone
Balcone Disattivato
Fantasmi
Fantasmi Trasparenti
Crea Fantasmi
Pecora
Zona Pecora
Cattura Pecora
Missioni
Missione Tesoro
Missione Tesoro Completata
Missione Tesoro Completata Disattivata
Missione Tesoro Completata Attivata
Missione Tesoro Fallita
Missione Zombie
Missione Zombie Completata
Missione Vampiro
Missione Vampiro Completata
Altro
Candele
Rimuovi Attacchi
Umano
Trucchi
Telecamera
Inserisci il codice dello script personalizzato per la mappa nello spazio sottostante. Il testo verrà incluso nello script della mappa dopo che le variabili sono state dichiarate e prima di qualsiasi codice trigger.
Name
Type
is_array
initial_value
MissioneTesoro
quest
No
MissioneVampiro
quest
No
MissioneZombie
quest
No
Umano
unit
No
Tempo
Events
Map initialization
Conditions
Actions
Game - Set the time of day to 24.00
Game - Turn the day/night cycle Off
Porta 1
Events
Unit - A unit enters Porta_1_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_1_2 <gen>)
Porta 2
Events
Unit - A unit enters Porta_2_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_2_2 <gen>)
Porta 3
Events
Unit - A unit enters Porta_3_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_3_2 <gen>)
Porta 4
Events
Unit - A unit enters Porta_4_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_4_2 <gen>)
Porta 5
Events
Unit - A unit enters Porta_5_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_5_2 <gen>)
Porta 6
Events
Unit - A unit enters Porta_6_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_6_2 <gen>)
Porta 7
Events
Unit - A unit enters Porta_7_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_7_2 <gen>)
Porta 8
Events
Unit - A unit enters Porta_8_1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Entering unit) instantly to (Center of Porta_8_2 <gen>)
Nomi
Events
Map initialization
Conditions
Actions
Player - Set name of Player 2 (Blue) to Dead
Player - Set name of Player 3 (Teal) to Hunter
Colori
Events
Map initialization
Conditions
Actions
Player - Change color of Player 2 (Blue) to Maroon , Changing color of existing units
Muovi Zombie
Events
Time - Every 1.25 seconds of game time
Conditions
Actions
Unit - Order Zombie 0001 <gen> to Attack-Move To . (Random point in Zona_Zombie <gen>)
Pausa Vampiro
Events
Map initialization
Conditions
Actions
Unit - Pause Vampire 0003 <gen>
Unit - Make Vampire 0003 <gen> Invulnerable
Scala Uomo
Events
Unit - A unit enters Scala_1 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Man
Actions
Trigger - Turn on Balcone <gen>
Trigger - Turn on Scala_Uomo_Ritorno <gen>
Unit - Replace (Entering unit) with a Man (Balcone) using The old unit's relative life and mana
Set Variable Set Umano = (Last replaced unit)
Unit - Move (Last replaced unit) instantly to (Center of Porta_2_2 <gen>)
Unit - Unpause Vampire 0003 <gen>
Unit - Make Vampire 0003 <gen> Vulnerable
Scala Uomo su Pecora
Events
Unit - A unit enters Scala_1 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Man on Sheep
Actions
Trigger - Turn on Balcone <gen>
Trigger - Turn on Scala_Uomo_su_Pecora_Ritorno <gen>
Unit - Replace (Entering unit) with a Man on Sheep (Balcone) using The old unit's relative life and mana
Set Variable Set Umano = (Last replaced unit)
Unit - Move (Last replaced unit) instantly to (Center of Porta_2_2 <gen>)
Unit - Unpause Vampire 0003 <gen>
Unit - Make Vampire 0003 <gen> Vulnerable
Scala Uomo Ritorno
Events
Unit - A unit enters Porta_1_1 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Man (Balcone)
Actions
Trigger - Turn off Balcone <gen>
Unit - Replace (Entering unit) with a Man using The old unit's relative life and mana
Wait 0.01 seconds
Trigger - Turn off Scala_Uomo_Ritorno <gen>
Unit - Move (Last replaced unit) instantly to (Center of Scala_2 <gen>)
Set Variable Set Umano = (Last replaced unit)
Unit - Pause Vampire 0003 <gen>
Unit - Make Vampire 0003 <gen> Invulnerable
Scala Uomo su Pecora Ritorno
Events
Unit - A unit enters Porta_1_1 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Man on Sheep (Balcone)
Actions
Trigger - Turn off Balcone <gen>
Unit - Replace (Entering unit) with a Man on Sheep using The old unit's relative life and mana
Wait 0.01 seconds
Trigger - Turn off Scala_Uomo_su_Pecora_Ritorno <gen>
Unit - Move (Last replaced unit) instantly to (Center of Scala_2 <gen>)
Set Variable Set Umano = (Last replaced unit)
Unit - Pause Vampire 0003 <gen>
Unit - Make Vampire 0003 <gen> Invulnerable
Scala Ritorno Disattivata 1
Events
Map initialization
Conditions
Actions
Trigger - Turn off Scala_Uomo_Ritorno <gen>
Trigger - Turn off Scala_Uomo_su_Pecora_Ritorno <gen>
Balcone
Events
Unit - A unit leaves Balcone <gen>
Unit - A unit leaves Balcone_2 <gen>
Conditions
Actions
Unit - Order (Leaving unit) to Move To . (Center of Balcone <gen>)
Balcone Disattivato
Events
Map initialization
Conditions
Actions
Trigger - Turn off Balcone <gen>
Trigger - Turn off Balcone <gen>
Fantasmi Trasparenti
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units of type Ghost) and do (Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 75.00% transparency)
Unit Group - Pick every unit in (Units of type Ghost (2)) and do (Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 75.00% transparency)
Unit Group - Pick every unit in (Units of type Ghost (2)) and do (Hide (Picked unit))
Crea Fantasmi
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Ghost for Player 2 (Blue) at (Center of Crea_Fantasmi <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . (Position of Umano)
Animation - Change (Last created unit) 's vertex coloring to ( 100 %, 100 %, 100 %) with 75.00 % transparency
Zona Pecora
Events
Unit - A unit leaves Pecora <gen>
Conditions
(Leaving unit) Equal to Sheep 0011 <gen>
Actions
Unit - Order Sheep 0011 <gen> to Move To . (Random point in Pecora <gen>)
Cattura Pecora
Events
Unit - A unit enters Pecora <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Man
Actions
Unit - Replace Man 0010 <gen> with a Man on Sheep using The old unit's relative life and mana
Unit - Remove Sheep 0011 <gen> from the game
Set Variable Set Umano = (Last replaced unit)
Trigger - Turn off (This trigger)
Missione Tesoro
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled The Treasure with the description Enter the Haunted House and find the treasure!Very groped died in this dangerous undertaking so once you have found the treasure flee as fast as possible from the Villa! , using icon path ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
Set Variable Set MissioneTesoro = (Last created quest)
Missione Tesoro Completata
Events
Unit - A unit enters Fuga_dalla_Villa_Infestata <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Quest - Mark MissioneTesoro as Completed
Wait 1.50 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Missione Tesoro Completata Disattivata
Events
Map initialization
Conditions
Actions
Trigger - Turn off Missione_Tesoro_Completata <gen>
Missione Tesoro Completata Attivata
Events
Unit - A unit Acquires an item
Conditions
Actions
Trigger - Turn on Missione_Tesoro_Completata <gen>
Unit Group - Pick every unit in (Units of type Ghost (2)) and do (Unhide (Picked unit))
Game - Defeat Player 1 (Red) with the message: Defeat!
Missione Zombie
Events
Map initialization
Conditions
Actions
Wait 0.01 seconds
Quest - Create a Optional quest titled The Zombie with the description It is said that in the Villa there is a Zombie! Uccidolo before he kills you! , using icon path ReplaceableTextures\CommandButtons\BTNZombie.blp
Set Variable Set MissioneZombie = (Last created quest)
Missione Zombie Completata
Events
Unit - Zombie 0001 <gen> Dies
Conditions
Actions
Wait 1.50 seconds
Quest - Mark MissioneZombie as Completed
Missione Vampiro
Events
Map initialization
Conditions
Actions
Wait 0.02 seconds
Quest - Create a Optional quest titled The Vampire with the description It is said that in the Villa there is a Vampire! Kill him before you suck all the blood you have in your body! , using icon path ReplaceableTextures\CommandButtons\BTNHeroDreadLord.blp
Set Variable Set MissioneVampiro = (Last created quest)
Missione Vampiro Completata
Events
Unit - Vampire 0003 <gen> Dies
Conditions
Actions
Wait 1.50 seconds
Quest - Mark MissioneVampiro as Completed
Candele
Events
Map initialization
Conditions
Actions
Animation - Play the death animation for all doodads of type D009 (Unexpected type: 'doodadcode') within Candele <gen> .
Rimuovi Attacchi
Events
Map initialization
Conditions
Actions
Animation - Remove the Attack - 13 (1.000 s) animation tag to Man 0010 <gen>
Umano
Events
Map initialization
Conditions
Actions
Set Variable Set Umano = Man 0010 <gen>
Telecamera
Events
Player - Player 1 (Red) types a chat message containing Telecamera (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Camera - . Apply . gg_cam_1 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_2 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_3 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_4 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_5 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_6 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_7 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_8 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_9 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_10 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_11 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_12 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_13 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_14 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_15 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_16 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Camera - . Apply . gg_cam_17 for Player 1 (Red) over 0 seconds
Wait 7.50 seconds
Cinematic - Turn cinematic mode Off for (All players)
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.