How can I get this colors? At now I use two state for coloring my map:
{
// caf_ag_afr_p
// BLU_G_F
if ("BLU_G_F" in ([_x,"factions"] call ALiVE_fnc_hashGet)) then {
_objectives = [_x,"objectives",[]] call ALiVE_fnc_hashGet;
{
name_ = [_x,"objectiveID"] call ALiVE_fnc_hashGet;
pos_ = [_x,"center"] call ALiVE_fnc_hashGet;
size_ = [_x,"size"] call ALiVE_fnc_hashGet;
type_ = [_x,"type"] call ALiVE_fnc_hashGet;
makrek_name_major_ = "marker_" + name_ + "_major";
makrek_name_rspam_ = "respawn_west_" + name_;
opcom_state_ = [_x, "opcom_state"] call ALiVE_fnc_hashGet;
tacom_state_ = [_x, "tacom_state"] call ALiVE_fnc_hashGet;
if (isNil "tacom_state_") then { tacom_state_ = "none"; };
} foreach _objectives;
};
} foreach OPCOM_instances;
I need on my map only 4 state:
CIV magenta
OPF_F red
BLU_F blue
Active battle yellow
Only 4 states! How can I do this?