So, i was trying to make an orbat for the first time, but it is quite the struggle and i do not know what is wrong... i am getting an error that says there is an error on line 14:/CfgORBAT/: "C" Encountered instead of }, can anyone please help?
class CfgORBAT
{
class IranianForces
{
id = 1;
idType = 0;
side = "East";
commander = "Petrisnov";
commanderRank = "General";
text = "Army of the Iranian Goverment";
subordinates[] = {Sigma Company};
description = "The Army of the Iranian Goverment has invaded it's neighboring country of Chernarus";
};
class Sigma Company
{
id = 1;
idType = 0;
side = "East";
size = "Company";
type = "mechanizedInfantry";
commander = "Gomez";
commanderRank = "Captain";
subordinates[] = {1st Platoon};
};
class 1st Platoon
{
side = "East";
size = "Platoon";
type = "mechanizedInfantry";
commander = "Nunez";
commanderRank = "captain";
description = "It is said that the captain fights alongside his troops, look for him";
subordinates[] = {AA Section, mortar};
};
class AA Section
{
id = 1;
idType = 2;
side = "West";
size = "squad";
type = "infantry";
commander = "Gomez";
commanderRank = "captain";
text = "%1 %2 %3";
textShort = "%1 %2";
color[] = {0,1,0,1};
};
class mortar
{
id = 4;
idType = 2;
side = "East";
size = "section";
type = "mortar";
commander = "Gravonski";
commanderRank = "corporal";
text = "%1 %2 %3";
textShort = "%1 %2";
color[] = {0,0,1,1};
};
};