- Joined
- Aug 6, 2009
- Messages
- 74
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Color de los jugadores

Events


Map initialization

Conditions

Actions


Set Colores_Jugador[1] = |c00ff0000


Set Colores_Jugador[2] = |c000000ff


Set Colores_Jugador[3] = |c0000ffff


Set Colores_Jugador[4] = |cff551A8B


Set Colores_Jugador[5] = |cffffff00


Set Colores_Jugador[6] = |cffff4000


Set Colores_Jugador[7] = |cff00EE00


Set Colores_Jugador[8] = |cffFF34B3


Set Colores_Jugador[9] = |cffBEBEBE


Set Colores_Jugador[10] = |cff00BFFF


Set Colores_Jugador[11] = |cff008B45


Set Colores_Jugador[12] = |cff8B4726
Simple Multiboard

Events


Time - Elapsed game time is 1.00 seconds

Conditions

Actions


Set Contador_Jugador = (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 3 columns and (1 + Contador_Jugador) rows, titled ¡12 Súper Enanos!


Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Jugador


Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Kills


Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Deaths


For each (Integer A) from 1 to (1 + Contador_Jugador), do (Actions)



Loop - Actions




-------- Vista --------




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




-------- Ancho --------




Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 12.00% of the total screen width




Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 4.00% of the total screen width




Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 4.00% of the total screen width


Set Lista = 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 Multiboard_Sports[(Player number of (Picked player))] = Lista




Multiboard - Set the text for (Last created multiboard) item in column 1, row Lista to (Colores_Jugador[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))




Multiboard - Set the text for (Last created multiboard) item in column 2, row Lista to 0




Multiboard - Set the text for (Last created multiboard) item in column 3, row Lista to 0




Set Lista = (Lista + 1)


Multiboard - Show (Last created multiboard)
Cuenta Kills

Events


Unit - A unit Dies

Conditions


((Killing unit) is A Hero) Equal to True


((Dying unit) is A Hero) Equal to True

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions



Then - Actions




Set Cuenta_Kills[(Player number of (Owner of (Killing unit)))] = (Cuenta_Kills[(Player number of (Owner of (Killing unit)))] + 1)




Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Sports[(Player number of (Owner of (Killing unit)))] to (String(Cuenta_Kills[(Player number of (Owner of (Killing unit)))]))



Else - Actions




Do nothing
Cuenta Deaths

Events


Unit - A unit Dies

Conditions


((Killing unit) is A Hero) Equal to True


((Dying unit) is A Hero) Equal to True

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions



Then - Actions




Set Cuenta_Deaths[(Player number of (Owner of (Dying unit)))] = (Cuenta_Deaths[(Player number of (Owner of (Dying unit)))] + 1)




Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Sports[(Player number of (Owner of (Dying unit)))] to (String(Cuenta_Deaths[(Player number of (Owner of (Dying unit)))]))



Else - Actions




Do nothing
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Sports[(Player number of (Owner of (Dying unit)))] to (String(Cuenta_Deaths[(Player number of (Owner of (Dying unit)))]))
Set Multiboard_Sports[(Player number of (Picked player))] = Lista
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)
Cuenta Kills

Events


Unit - A unit Dies

Conditions


((Killing unit) is A Hero) Equal to True


((Triggering unit) is A Hero) Equal to True

Actions


Set Cuenta_Kills[(Player number of (Owner of (Killing unit)))] = (Cuenta_Kills[(Player number of (Owner of (Killing unit)))] + 1)


Multiboard - Set the text for Scoreboard item in column 2, row Multiboard_Sports[(Player number of (Owner of (Killing unit)))] to (String(Cuenta_Kills[(Player number of (Owner of (Killing unit)))]))


Set Cuenta_Deaths[(Player number of (Owner of (Triggering unit)))] = (Cuenta_Deaths[(Player number of (Owner of (Triggering unit)))] + 1)


Multiboard - Set the text for Scoreboard item in column 3, row Multiboard_Sports[(Player number of (Triggering player))] to (String(Cuenta_Deaths[(Player number of (Triggering player))]))
