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
Chat System [GUI].w3x
Variables
Inicialización
Colores
Asignacion Unidad
Chat
Categoría sin título
---------------------------
Visibilidad
Escribe debajo el código del guión personalizado especial para el mapa. El texto se incluirá en el guión del mapa después de declarar las variables y antes de los códigos de los detonadores.
Name
Type
is_array
initial_value
Player_Colors
string
Yes
Select_Unit
unit
No
Colores
Events
Map initialization
Conditions
Actions
Set Variable Set Player_Colors[1] = "|c00ff0000"
Set Variable Set Player_Colors[2] = "|c000000ff"
Set Variable Set Player_Colors[3] = "|c0000ffff"
Set Variable Set Player_Colors[4] = "|c00800080"
Set Variable Set Player_Colors[5] = "|c00ffff00"
Set Variable Set Player_Colors[6] = "|c00ff8000"
Set Variable Set Player_Colors[7] = "|c0000ff00"
Set Variable Set Player_Colors[8] = "|c00ff00ff"
Set Variable Set Player_Colors[9] = "|cff999999"
Set Variable Set Player_Colors[10] = "|cff6699ff"
Asignacion Unidad
Events
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Player - Player 9 (Gray) Selects a unit
Conditions
((Triggering unit) is selected by (Owner of (Triggering unit)).) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is alive) Equal to True
Then - Actions
Set Variable Set Select_Unit = (Triggering unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is dead) Equal to True
Then - Actions
Selection - Remove Select_Unit from selection for (Triggering player)
Else - Actions
Chat
Events
Player - Player 1 (Red) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing (Unexpected type: 'stringnoformat') as A substring
Conditions
(Entered chat string) Not equal to
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Select_Unit is alive) Equal to True
Then - Actions
Floating Text - Create floating text that reads (Player_Colors[(Player number of (Owner of Select_Unit))] + ((Name of (Triggering player)) + ( dice: |r + (Entered chat string)))) above Select_Unit with Z offset 0 , using font size 10 , color ( 100.00 %, 100.00 %, 100 %), and 10.00 % transparency
Floating Text - Change (Last created floating text) : Disable permanence
Floating Text - Change the fading age of (Last created floating text) to 1.50 seconds
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
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.