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
War of Masters.w3x
Variables
Initialisierung
Nahkampf-Initialisierung
Unbezeichneter Auslöser 001
Hero Dies
Team1 Death
Team2 Death
LeaderBoard
Set Up Leaderboard
Update Leaderboard
Kick System
Kick 01
Kick 02
Kick 03
Kick 04
Kick 05
Kick 06
Kick 07
Kick 08
Kick 09
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
Vorgegebene Nahkampf-Spielinitialisierung für alle Spieler
Nahkampf-Initialisierung
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)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Unbezeichneter Auslöser 001
Events
Player - Player 1 (Red) leaves the game with a defeat
Game - The in-game time of day becomes Equal to 12
Conditions
(Number of units in (Units in (Playable map area))) Equal to 0
Actions
Game - Display to (All players) for 30 seconds the text: Here is Gold You can try to life with them
Player - Add 5000 to Player 1 (Red) . Current gold
Player - Add 5000 to Player 2 (Blue) . Current gold
Player - Add 5000 to Player 3 (Teal) . Current gold
Player - Add 5000 to Player 4 (Purple) . Current gold
Player - Add 5000 to Player 5 (Yellow) . Current gold
Player - Add 5000 to Player 6 (Orange) . Current gold
Player - Add 5000 to Player 7 (Green) . Current gold
Player - Add 5000 to Player 8 (Pink) . Current gold
Player - Add 5000 to Player 9 (Gray) . Current gold
Player - Add 5000 to Player 10 (Light Blue) . Current gold
Player - Add 5000 to Player 11 (Dark Green) . Current gold
Player - Add 5000 to Player 12 (Brown) . Current gold
Team1 Death
Events
Unit - A unit owned by Player 1 (Red) . Dies
Unit - A unit owned by Player 2 (Blue) . Dies
Unit - A unit owned by Player 3 (Teal) . Dies
Unit - A unit owned by Player 4 (Purple) . Dies
Unit - A unit owned by Player 5 (Yellow) . Dies
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Set Variable Set Team1Dying = "true"
Sound - Play VillagerMaleDeath1 <gen>
If (bDuel Equal to True) then do (Set VariableSet Team2Kills = (Team2Kills + 3)) else do (Set VariableSet Team2Kills = (Team2Kills + 1))
If ((Owner of (Killing unit)) Not equal to Neutral Hostile) then do (Set VariableSet Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)) else do (Do nothing)
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
If ((Owner of (Killing unit)) Not equal to Neutral Hostile) then do (Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( Defeats + (Name of (Owner of (Triggering unit)))))) else do (Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + Dies To Creeps))
If (((Owner of (Killing unit)) Not equal to Neutral Hostile) and (bDuel Equal to True)) then do (Display to (All players) the text: ((Name of (Owner of (Killing unit))) + Wins the Duel! )) else do (Do nothing)
If (bDuel Equal to True) then do (Run End_Duel <gen> (ignoring conditions)) else do (Do nothing)
If (bDuel Equal to True) then do (Set VariableSet bDuel = "false") else do (Do nothing)
Wait 2.00 seconds
If ((Triggering unit) Equal to Team1LeaderHero) then do (Move (Triggering unit) instantly to (Center of Team_One_Dueler <gen>)) else do (Move (Triggering unit) instantly to (Center of Team_One_Respawn <gen>))
Set Variable Set Team1Dying = "true"
Wait 2 seconds
If (bDuel Equal to False) then do (Pan camera for (Owner of (Triggering unit)) to (Center of Team_One_Respawn <gen>) over 1.00 seconds) else do (Do nothing)
Set Variable Set Team1Dying = "true"
Wait 2 seconds
Unit - Set mana of (Triggering unit) to 100 %
If (((Owner of (Triggering unit)) controller) Equal to Computer) then do (Order (Triggering unit) to Patrol To.(Center of Gamble_1 <gen>)) else do (Do nothing)
Player - Enable Divine Shield for (Owner of Team1LeaderHero)
Player Group - Pick every player in Team2 and do (Add 1000 to (Picked player).Current gold)
Set Variable Set Team1Dying = "false"
Team2 Death
Events
Unit - A unit owned by Player 7 (Green) . Dies
Unit - A unit owned by Player 8 (Pink) . Dies
Unit - A unit owned by Player 9 (Gray) . Dies
Unit - A unit owned by Player 10 (Light Blue) . Dies
Unit - A unit owned by Player 11 (Dark Green) . Dies
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
((Triggering unit) is A Hero) Equal to True
((Dying unit) has an item of type Ankh of Reincarnation) Equal to False
Actions
Set Variable Set Team2Dying = "true"
Sound - Play VillagerMaleDeath1 <gen>
If (bDuel Equal to True) then do (Set VariableSet Team1Kills = (Team1Kills + 3)) else do (Set VariableSet Team1Kills = (Team1Kills + 1))
If ((Owner of (Killing unit)) Not equal to Neutral Hostile) then do (Set VariableSet Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)) else do (Do nothing)
Trigger - Run Update_Leaderboard <gen> (ignoring conditions)
If ((Owner of (Killing unit)) Not equal to Neutral Hostile) then do (Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( Defeats + (Name of (Owner of (Triggering unit)))))) else do (Display to (All players) the text: ((Name of (Owner of (Triggering unit))) + Dies To Creeps))
If (((Owner of (Killing unit)) Not equal to Neutral Hostile) and (bDuel Equal to True)) then do (Display to (All players) the text: ((Name of (Owner of (Killing unit))) + Wins the Duel! )) else do (Do nothing)
If (bDuel Equal to True) then do (Run End_Duel <gen> (ignoring conditions)) else do (Do nothing)
If (bDuel Equal to True) then do (Set VariableSet bDuel = "false") else do (Do nothing)
Wait 2.00 seconds
If ((Triggering unit) Equal to Team2LeaderHero) then do (Move (Triggering unit) instantly to (Center of Team_Two_Dueler <gen>)) else do (Move (Triggering unit) instantly to (Center of Team_Two_Respawn <gen>))
Set Variable Set Team2Dying = "true"
Wait 2 seconds
If (bDuel Equal to False) then do (Pan camera for (Owner of (Triggering unit)) to (Center of Team_Two_Respawn <gen>) over 1.00 seconds) else do (Do nothing)
Set Variable Set Team2Dying = "true"
Wait 2 seconds
Hero - Instantly revive (Dying unit) at (Position of (Triggering unit)) , Show revival graphics
Unit - Set mana of (Triggering unit) to 100 %
If (((Owner of (Triggering unit)) controller) Equal to Computer) then do (Order (Triggering unit) to Patrol To.(Center of Gamble_2 <gen>)) else do (Do nothing)
Player - Enable Divine Shield for (Owner of Team2LeaderHero)
Player Group - Pick every player in Team1 and do (Add 1000 to (Picked player).Current gold)
Set Variable Set Team2Dying = "false"
Set Up Leaderboard
Events
Conditions
Actions
For each (Integer A) from 1 to 12 , do (Set VariableSet Kills[(Integer A)] = "0")
Wait 1.00 seconds
Leaderboard - Create a leaderboard for (All players) titled Kills
Set Variable Set TheLeaderBoard = (Last created leaderboard)
Leaderboard - Add Neutral Hostile to (Last created leaderboard) with label Team 1 Kills and value 0
Leaderboard - Change the color of the label for Neutral Hostile in (Last created leaderboard) to ( 100 %, 100 %, 100 %) with 0 % transparency
Leaderboard - Change the color of the value for Neutral Hostile in (Last created leaderboard) to ( 100 %, 100 %, 100 %) with 0 % transparency
Player Group - Pick every player in Team1 and do (Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0)
Leaderboard - Add Neutral Passive to (Last created leaderboard) with label Team 2 Kills and value 0
Leaderboard - Change the color of the label for Neutral Passive in (Last created leaderboard) to ( 100 %, 100 %, 100 %) with 0 % transparency
Leaderboard - Change the color of the value for Neutral Passive in (Last created leaderboard) to ( 100 %, 100 %, 100 %) with 0 % transparency
Player Group - Pick every player in Team2 and do (Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0)
Leaderboard - Add Neutral Victim to (Last created leaderboard) with label (Win = + ((String(150)) + Team Kills)) and value 150
Leaderboard - Change the display style for Neutral Victim in (Last created leaderboard) to Show the label, Hide the value, and Hide the icon
Leaderboard - Change the color of the label for Neutral Victim in (Last created leaderboard) to ( 100 %, 100 %, 100 %) with 0 % transparency
Trigger - Turn on Update_Leaderboard <gen>
Update Leaderboard
Events
Conditions
Actions
Player Group - Pick every player in (All players) and do (Change the value for (Picked player) in TheLeaderBoard to Kills[(Player number of (Picked player))])
Leaderboard - Change the value for Neutral Hostile in TheLeaderBoard to Team1Kills
Leaderboard - Change the value for Neutral Passive in TheLeaderBoard to Team2Kills
Trigger - Run Team_1_Win_Game <gen> (checking conditions)
Trigger - Run Team_2_Win_Game <gen> (checking conditions)
Kick 01
Events
Player - Player 1 (Red) types a chat message containing --kick orange (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick orange (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play HeroLichPissed8 <gen>
Game - Defeat Player 6 (Orange) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Kick 02
Events
Player - Player 1 (Red) types a chat message containing --kick pink (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick pink (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play HeroLichPissed8 <gen>
Game - Defeat Player 8 (Pink) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Kick 03
Events
Player - Player 1 (Red) types a chat message containing --kick green (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick green (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play HeroLichPissed8 <gen>
Game - Defeat Player 7 (Green) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Kick 04
Events
Player - Player 1 (Red) types a chat message containing --kick gray (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick gray (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play HeroLichPissed8 <gen>
Game - Defeat Player 9 (Gray) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Kick 05
Events
Player - Player 1 (Red) types a chat message containing --kick purple (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick purple (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Sound - Play HeroLichPissed8 <gen>
Game - Defeat Player 4 (Purple) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Kick 06
Events
Player - Player 1 (Red) types a chat message containing --kick yellow (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick yellow (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Defeat Player 5 (Yellow) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Sound - Play HeroLichPissed8 <gen>
Kick 07
Events
Player - Player 1 (Red) types a chat message containing --kick blue (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Defeat Player 2 (Blue) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Sound - Play HeroLichPissed8 <gen>
Kick 08
Events
Player - Player 1 (Red) types a chat message containing --kick teal (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing --kick teal (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Defeat Player 3 (Teal) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
Sound - Play HeroLichPissed8 <gen>
Kick 09
Events
Player - Player 2 (Blue) types a chat message containing --kick red (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: |cffdc143cYou are a fucking Noob and a really big Idiot, bye bye !|r
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.