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
tutorialmultiboard.w3x
Variables
.!.
One
Mensages
Revive
Revive2
Skill
Animation
Mitiborad
Create Multiboard
Player Deaths Update
Player Kills Update
Player leaves
Define Colors
Name
Type
is_array
initial_value
Death_Count
integer
Yes
Kill_Count
integer
Yes
List
integer
No
Multiboard_Spots
integer
Yes
Player_Colors
string
Yes
Player_Count
integer
No
One
Events
Map initialization
Conditions
Actions
Unit - Move Mountain King 0000 <gen> instantly to (Center of (Playable map area))
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Move (Picked unit) instantly to (Center of (Playable map area)))
Camera - Lock camera target for Player 1 (Red) to Mountain King 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Visibility - Disable fog of war
Visibility - Disable black mask
Selection - Select Mountain King 0000 <gen> for Player 1 (Red)
Mensages
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Completed message: -anim
Revive
Events
Unit - Mountain King 0000 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Quest Update message: You hero is killed.
Hero - Instantly revive Mountain King 0000 <gen> at (Center of (Playable map area)) , Show revival graphics
Unit - Set mana of (Dying unit) to 100 %
Selection - Select Mountain King 0000 <gen> for Player 1 (Red)
Revive2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Spider
Actions
Unit - Create 1 . Spider for Neutral Hostile at (Center of (Playable map area)) facing Default building facing degrees
Skill
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Thunder Clap
Actions
Unit - Set mana of (Casting unit) to 100 %
Unit - Cause (Casting unit) to damage circular area after 0 seconds of radius 500000.00 at (Center of (Playable map area)) , dealing 100 damage of attack type Spells and damage type Normal
Wait 1.00 seconds
Unit - Reset ability cooldowns for (Casting unit) .
Animation
Events
Player - Player 1 (Red) types a chat message containing -anim (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Wait 0.90 seconds
Animation - Play Mountain King 0000 <gen> 's Spell Slam animation
Create Multiboard
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set Variable Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing)).))
Multiboard - Create a multiboard with 4 columns and (1 + Player_Count) rows, titled Your title here. .
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to Player
Multiboard - Set the text for (Last created multiboard) item in column 3 , row 1 to Kills
Multiboard - Set the text for (Last created multiboard) item in column 4 , row 1 to Deaths
For each (Integer A) from 1 to (1 + Player_Count) , do (Actions)
Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column 1 , row 1 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 1 , row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2 , row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3 , row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 4 , row (Integer A) to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 1 , row (Integer A) to 2.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2 , row (Integer A) to 8.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3 , row (Integer A) to 2.00 % of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4 , row (Integer A) to 8.00 % of the total screen width
Set Variable Set List = "2"
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)).) and do (Actions)
Loop - Actions
Set Variable Set Multiboard_Spots[(Player number of (Picked player))] = List
Multiboard - Set the text for (Last created multiboard) item in column 2 , row List to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 3 , row List to 0
Multiboard - Set the text for (Last created multiboard) item in column 4 , row List to 0
Set Variable Set List = (List + 1)
Multiboard - Show (Last created multiboard)
Player Deaths Update
Events
Unit - A unit Dies
Conditions
((Unit-type of (Dying unit)) Not equal to Spider) and (((Dying unit) is A Hero) Equal to True)
Actions
Set Variable Set Death_Count[(Player number of (Owner of (Dying unit)))] = (Death_Count[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4 , row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Death_Count[(Player number of (Owner of (Dying unit)))])))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to Player
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)).) and do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 5 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Player Kills Update
Events
Unit - A unit Dies
Conditions
(((Dying unit) is A Hero) Equal to False) and ((Killing unit) Equal to Mountain King 0000 <gen>)
Actions
Set Variable Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 3 , row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (String(Kill_Count[(Player number of (Owner of (Killing unit)))]))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 1 to Player
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)).) and do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 2 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 3 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 4 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Multiboard - Set the text for (Last created multiboard) item in column 2 , row 5 to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Player leaves
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Game - Display to (All players) the text: (|cffFFFF00 + ((Name of (Triggering player)) + |r deixou o jogo.))
Unit - Remove (Picked unit) from the game
Multiboard - Set the text for (Last created multiboard) item in column 0 , row Multiboard_Spots[(Player number of (Triggering player))] to Gone
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.