BorizzK можно что-то типа такого. например
ref map<string, array<string> > Array_Info = new map<string, array<string> >;
где string - указатель на элемент, а 2 ячейка - список из элементов (например, массив string).
Как образец:
ref map<bool, array<vector> > Array_Info = new map<bool, array<vector> >;
array<vector> Array_Info_temp = new array<vector>;
Array_Info_temp.Insert("x y z");
Array_Info_temp.Insert("x y z");
Array_Info_temp.Insert("x y z");
Array_Info.Insert(false,Array_Info_temp);
Array_Info_temp.Clear();
Array_Info_temp.Insert("x y z");
Array_Info_temp.Insert("x y z");
Array_Info_temp.Insert("x y z");
Array_Info.Insert(true,Array_Info_temp);
ну или альтернативка :
ref map<vector, bool> m_Zones_State;
ref array<vector> M_Zone_Massive;
m_Zones_State.Insert("x y z", true); M_Zone_Massive.Insert("x y z");
m_Zones_State.Insert("x y z", true); M_Zone_Massive.Insert("x y z");
m_Zones_State.Insert("x y z", false); M_Zone_Massive.Insert("x y z");
m_Zones_State.Insert("x y z", false); M_Zone_Massive.Insert("x y z");
m_Zones_State.Insert("x y z", true); M_Zone_Massive.Insert("x y z");
foreach(vector M_Zone_Massive_selected: M_Zone_Massive)
{
if ( m_Zones_State.Get(M_Zone_Massive_selected))
{
.... какие-то действия
}
}