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
hero-fight_2.13b.w3x
Variables
Initialisation
Initialisation mêlée
bounty
Respawn
add creeps to respawn
item mix
Skull of Guldan
Frostmourne
test
Gold giving
Repick
Teleportation
telport
telport Copier
Bossteletort
tavern
hero buying
start game
End Trigger BY USS_Ge_Freak
Accnolisment
EndTrigger
quest log
credits
Entrez le code script personnalisé spécifique à la carte ci-dessous. Ce texte sera inclus dans le script de la carte après que les variables auront été déclarées et avant tout code de déclencheur.
Name
Type
is_array
initial_value
Creep_point
location
No
gold
integer
Yes
1000
Respawn_time
real
No
Temp_Integer
integer
No
Initialisation mêlée par défaut pour tous les joueurs
Initialisation mêlée
Events
Map initialization
Conditions
Actions
Set Variable Set Respawn_time = "60.00"
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
Loop - Actions
Set Variable Set Temp_Integer = (Temp_Integer + 1)
Unit - Set the custom value of (Picked unit) to Temp_Integer
Set Variable Set Creep_point = (Position of (Picked unit))
bounty
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Respawn
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
(Real((Custom value of (Triggering unit)))) Greater than 0.00
Actions
Wait Respawn_time game-time seconds
Unit - Create 1 . (Unit-type of (Triggering unit)) for Neutral Hostile at (Random point in (Playable map area)) facing 270.00 degrees
Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
add creeps to respawn
Events
Unit - A unit enters (Playable map area)
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Set Variable Set Temp_Integer = (Temp_Integer + 1)
Unit - Set the custom value of (Triggering unit) to Temp_Integer
Set Variable Set Creep_point = (Position of (Triggering unit))
Skull of Guldan
Events
Unit - A unit enters item_mix_alliance <gen>
Unit - A unit enters item_mix_horde <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Medalion of the lion
(Item-type of (Item carried by (Triggering unit) in slot 2)) Equal to Medalion of the lion
(Item-type of (Item carried by (Triggering unit) in slot 3)) Equal to Medalion of the lion
(Item-type of (Item carried by (Triggering unit) in slot 4)) Equal to Medalion of the lion
(Item-type of (Item carried by (Triggering unit) in slot 5)) Equal to Medalion of the lion
(Item-type of (Item carried by (Triggering unit) in slot 6)) Equal to Medalion of the lion
Or - Any (Conditions) are true
Conditions
(Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 2)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 3)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 4)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 5)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 6)) Equal to Mask of death
Or - Any (Conditions) are true
Conditions
(Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Mage helm
(Item-type of (Item carried by (Triggering unit) in slot 2)) Equal to Mage helm
(Item-type of (Item carried by (Triggering unit) in slot 3)) Equal to Mage helm
(Item-type of (Item carried by (Triggering unit) in slot 4)) Equal to Mage helm
(Item-type of (Item carried by (Triggering unit) in slot 5)) Equal to Mage helm
(Item-type of (Item carried by (Triggering unit) in slot 6)) Equal to Mage helm
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Medalion of the lion)
Item - Remove (Item carried by (Triggering unit) of type Mask of death)
Item - Remove (Item carried by (Triggering unit) of type Mage helm)
Item - Create Skull of Gul'dan at (Center of (Playable map area))
Hero - Give (Last created item) to (Triggering unit)
Game - Display to (All players) the text: ((|cff995500 + (Name of (Owner of (Triggering unit)))) + (|r has made the |cffff0000 + ((Name of (Last created item)) + |r!)))
Else - Actions
Do nothing
Frostmourne
Events
Unit - A unit enters item_mix_horde <gen>
Unit - A unit enters item_mix_alliance <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 2)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 3)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 4)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 5)) Equal to Mask of death
(Item-type of (Item carried by (Triggering unit) in slot 6)) Equal to Mask of death
Or - Any (Conditions) are true
Conditions
(Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Sword of the great
(Item-type of (Item carried by (Triggering unit) in slot 2)) Equal to Sword of the great
(Item-type of (Item carried by (Triggering unit) in slot 3)) Equal to Sword of the great
(Item-type of (Item carried by (Triggering unit) in slot 4)) Equal to Sword of the great
(Item-type of (Item carried by (Triggering unit) in slot 5)) Equal to Sword of the great
(Item-type of (Item carried by (Triggering unit) in slot 6)) Equal to Sword of the great
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Sword of the great)
Item - Remove (Item carried by (Triggering unit) of type Mask of death)
Item - Create Frostmourne at (Center of (Playable map area))
Hero - Give (Last created item) to (Triggering unit)
Game - Display to (All players) the text: ((|cff995500 + (Name of (Owner of (Triggering unit)))) + (|r has made the |cffff0000 + ((Name of (Last created item)) + |r!)))
Else - Actions
Do nothing
Gold giving
Events
Player - Player 1 (Red) types a chat message containing -gg (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Add 1000 to Player 2 (Blue) . Current gold
Player - Add 1000 to Player 1 (Red) . Current gold
Player - Add 1000 to Player 3 (Teal) . Current gold
Player - Add 1000 to Player 4 (Purple) . Current gold
Player - Add 1000 to Player 6 (Orange) . Current gold
Player - Add 1000 to Player 5 (Yellow) . Current gold
Player - Add 1000 to Player 7 (Green) . Current gold
Player - Add 1000 to Player 8 (Pink) . Current gold
Repick
Events
Player - Player 1 (Red) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -repick (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit - Remove (Last restored unit) from the game
Unit - Create 1 . Child for (Triggering player) at (Center of hero_choser <gen>) facing Default building facing degrees
telport
Events
Unit - A unit comes within 150.00 of Portal 0422 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Move (Triggering unit) instantly to (Center of tele_geting <gen>) , facing Default building facing degrees
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of tele_geting <gen>) over 2.00 seconds
telport Copier
Events
Unit - A unit comes within 150.00 of Portal 0423 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
(Owner of (Triggering unit)) Equal to Player 6 (Orange)
(Owner of (Triggering unit)) Equal to Player 7 (Green)
(Owner of (Triggering unit)) Equal to Player 8 (Pink)
Actions
Unit - Move (Triggering unit) instantly to (Center of tele_geting <gen>) , facing Default building facing degrees
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of tele_geting <gen>) over 2.00 seconds
Bossteletort
Events
Unit - A unit comes within 50.00 of Circle of Power 0424 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of hero_geting_place <gen>)
hero buying
Events
Unit - A unit Sells a unit
Conditions
Actions
Unit - Remove (Buying unit) from the game
Unit - Move (Sold unit) instantly to (Center of hero_geting_place <gen>)
Camera - Pan camera for (Owner of (Buying unit)) to (Center of hero_geting_place <gen>) over 2.00 seconds
start game
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Unit - Create 1 . Child for Player 1 (Red) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child for Player 2 (Blue) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child for Player 3 (Teal) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child for Player 4 (Purple) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child (2) for Player 5 (Yellow) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child (2) for Player 6 (Orange) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child (2) for Player 7 (Green) at (Center of hero_choser <gen>) facing Default building facing degrees
Unit - Create 1 . Child (2) for Player 8 (Pink) at (Center of hero_choser <gen>) facing Default building facing degrees
Accnolisment
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled End Trigger By... with the description Uss_Ge_Freak Made The End Trigger Cause He Is Helpful And AWEEEEEEEESOME!!!!!!!!!!!!!!!!!!!!!!!!!!! , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
EndTrigger
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Dying unit) Equal to Castle 0023 <gen>
Then - Actions
Game - Display to (All players) the text: Team 2 Castles Has Fallen! Good Job Team 1! The Game Will End In 30 Secs.
Wait 30.00 seconds
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 5 (Yellow).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: You Failed! Better Luck Next Time.
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Dying unit) Equal to Castle 0024 <gen>
Then - Actions
Game - Display to (All players) the text: Team 1 Castles Has Fallen! Good Job Team 2! The Game Will End In 30 Secs.
Wait 30.00 seconds
Player Group - Pick every player in Player Group - Player 5 (Yellow) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: You Failed! Better Luck Next Time.
Else - Actions
Do nothing
credits
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled Credits with the description I would like to thank Uss_ge_freakfor the end trigger and L[eaf. ,Fallen angel , supercalifragil , deech555 ,MGS2raiden , king-galaxen_ , and many more that i dont know how to type there name for testing this map=D , using icon path ReplaceableTextures\CommandButtons\BTNSnazzyScroll.blp
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.