function GetPlayerColorFlag takes playercolor color returns string
if color == PLAYER_COLOR_RED then
return "|cffff0303"
elseif color == PLAYER_COLOR_BLUE then
return "|cff0042ff"
elseif color == PLAYER_COLOR_CYAN then
return "|cff1ce6b9"
elseif color == PLAYER_COLOR_PURPLE then
return "|cff540081"
elseif color == PLAYER_COLOR_YELLOW then
return "|cfffffc01"
elseif color == PLAYER_COLOR_ORANGE then
return "|cfffe8a0e"
elseif color == PLAYER_COLOR_GREEN then
return "|cff20c000"
elseif color == PLAYER_COLOR_PINK then
return "|cffe55bb0"
elseif color == PLAYER_COLOR_LIGHT_GRAY then
return "|cff959697"
elseif color == PLAYER_COLOR_LIGHT_BLUE then
return "|cff7ebff1"
elseif color == PLAYER_COLOR_AQUA then
return "|cff106246"
elseif color == PLAYER_COLOR_BROWN then
return "|cff4e2a04"
endif
return "|cffffffff"
endfunction
function GetColorEnd takes nothing returns string
return "|r"
endfunction
function GetColorPlayerName takes player p returns string
return GetPlayerColorFlag(GetPlayerColor(p)) + GetPlayerName(p) + GetColorEnd()
endfunction
Name | Type | is_array | initial_value |
AB1 | location | No | |
AB10 | location | No | |
AB2 | location | No | |
AB3 | location | No | |
AB4 | location | No | |
AB5 | location | No | |
AB6 | location | No | |
AB7 | location | No | |
AB8 | location | No | |
AB9 | location | No | |
AC1 | location | No | |
AC2 | location | No | |
Ally | force | No | |
AOrge | location | No | |
AT1 | location | No | |
AT10 | location | No | |
AT2 | location | No | |
AT3 | location | No | |
AT4 | location | No | |
AT5 | location | No | |
AT6 | location | No | |
AT7 | location | No | |
AT8 | location | No | |
AT9 | location | No | |
B1 | location | No | |
B2 | location | No | |
BlueCounter | integer | No | |
BlueDeaths | integer | No | |
BrownCounter | integer | No | |
BrownDeath | integer | No | |
Centaur | location | No | |
DGCounter | integer | No | |
DGdeaths | integer | No | |
Dragon | location | No | |
DragonSpawn | location | No | |
FirstBlood | boolean | No | |
Furbolg | location | No | |
General_Integer | integer | Yes | |
General_Point | location | Yes | |
General_String | string | Yes | |
Golem | location | No | |
GrayCounter | integer | No | |
GrayDeath | integer | No | |
Greencounter | integer | No | |
GreenDeaths | integer | No | |
Hero_Array | unitcode | Yes | |
Hrespawn | location | No | |
lbCounter | integer | No | |
LBdeaths | integer | No | |
Lrespawn | location | No | |
Minutes | integer | No | |
MultiColour | string | Yes | |
Murloc | location | No | |
Nerubian | location | No | |
OrangeCounter | integer | No | |
OrangeDeaths | integer | No | |
Orge | location | No | |
PinkCounter | integer | No | |
PinkDeath | integer | No | |
PlayerColors | string | Yes | |
Purplecounter | integer | No | |
PurpleDeath | integer | No | |
Random_Count | integer | No | |
Random_Data | integer | Yes | |
Random_Hero | integer | No | |
RedCounter | integer | No | |
RedDeaths | integer | No | |
Riki | location | No | |
Seconds | integer | No | |
Spree_Count | integer | Yes | |
Spree_Sounds | sound | Yes | |
Spree_Texts | string | Yes | |
SpreeEnd_Texts | string | Yes | |
SSCounter | integer | No | |
SSenemy | unit | Yes | |
SShero | unit | No | |
SSheropoint | location | No | |
SSLength | real | No | |
SSTargetLoc | location | No | |
SSTempLoc | location | No | |
SSUnitGroup | group | No | |
TealCounter | integer | No | |
TealDeaths | integer | No | |
TempFirstBlood | boolean | No | |
Total_Heroes | integer | No | |
TriggeringPosition | location | No | |
Troll | location | No | |
UnitGroup | group | No | |
YellowCounter | integer | No | |
YellowDeath | integer | No |