Name | Type | is_array | initial_value |
AttackedPlayer | string | No | |
AttackingPlayer | string | No | |
Colors | string | Yes | |
endgame_timer | timer | No | |
gold_given | integer | No | |
Instagator | player | No | Player00 |
leaderbord_name | string | Yes | |
mostregions | integer | No | |
next_income | integer | Yes | |
num_players_ingame | integer | No | |
num_regions | integer | Yes | |
PlayerName | string | No | |
Rand_Event_Num | integer | No | |
Rand_Player_Num | integer | No | |
RandomEvents | integer | No | |
Turn | timer | No | |
Winner | integer | No | |
xdeturn | integer | No | 0 |
Year | integer | No | 1400 |
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] = "|c0054ddd1" //teal
set udg_Colors[4] = "|c007a0c91" //purple
set udg_Colors[5] = "|c00ffff00" //yellow
set udg_Colors[6] = "|c00ff7f00" //orange
set udg_Colors[7] = "|c0000ff00" //Green
set udg_Colors[8] = "|c00ff47ff" //pink
set udg_Colors[9] = "|c00afafaf" //gray
set udg_Colors[10] = "|c00aedcff" //light blue
set udg_Colors[11] = "|c00006f59" //dark green
set udg_Colors[12] = "|c00412b18" //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