Name | Type | is_array | initial_value |
Allies | force | Yes | |
Colors | string | Yes | |
Dialog | dialog | No | |
DialogButtonRace | button | No | |
ElepsadGametime | timer | No | |
Enemies | force | Yes | |
Instagator | player | No | Player00 |
Kill_count | integer | Yes | 1 |
Number | integer | Yes | |
Player_count | integer | Yes | |
Player_Kills | integer | Yes | |
PlayerName | string | No | |
Structure_count | integer | Yes | |
Survival | button | No | |
TimerWindow | timerdialog | No |
function Trig_colors_Actions takes nothing returns nothing
call SetPlayerColorBJ( Player(0), PLAYER_COLOR_RED, true )
call SetPlayerColorBJ( Player(1), PLAYER_COLOR_BLUE, true )
call SetPlayerColorBJ( Player(2), PLAYER_COLOR_CYAN, true )
call SetPlayerColorBJ( Player(3), PLAYER_COLOR_PURPLE, true )
call SetPlayerColorBJ( Player(4), PLAYER_COLOR_YELLOW, true )
call SetPlayerColorBJ( Player(5), PLAYER_COLOR_ORANGE, true )
call SetPlayerColorBJ( Player(6), PLAYER_COLOR_GREEN, true )
call SetPlayerColorBJ( Player(7), PLAYER_COLOR_PINK, true )
call SetPlayerColorBJ( Player(8), PLAYER_COLOR_LIGHT_GRAY, true )
call SetPlayerColorBJ( Player(9), PLAYER_COLOR_LIGHT_BLUE, true )
call SetPlayerColorBJ( Player(10), PLAYER_COLOR_AQUA, true )
call SetPlayerColorBJ( Player(11), PLAYER_COLOR_BROWN, true )
set udg_Colors[1] = "|c00ff0000" //red RGB
set udg_Colors[2] = "|c000000ff" //blue
set udg_Colors[3] = "|c0000ffff" //teal
set udg_Colors[4] = "|c00ff00ff" //purple
set udg_Colors[5] = "|c00ffff00" //yellow
set udg_Colors[6] = "|c00ff7f00" //orange
set udg_Colors[7] = "|c0000ff00" //Green
set udg_Colors[8] = "|c00ff7f7f" //pink
set udg_Colors[9] = "|c00afafaf" //gray
set udg_Colors[10] = "|c007f7fff" //light blue
set udg_Colors[11] = "|c00007f7f" //dark green
set udg_Colors[12] = "|c007f3f3f" //brown
endfunction
//===========================================================================
function InitTrig_Set_colors takes nothing returns nothing
set gg_trg_Set_colors = CreateTrigger( )
call TriggerAddAction( gg_trg_Set_colors, function Trig_colors_Actions )
endfunction