Trying to make notifications. Arma returns "missing semicolon on line 2", but there is clearly different problem. Code:
Techincally, is ctrl-c, ctrl-v from bohemia docs. Code reach line 2 for sure, but after that I have no idea.
//////////////////// NOTIFICATIONS //////////////////////////////
class CfgNotifications // error here "class [#]CfgNotifications"
{
class Default
{
title = "";
iconPicture = "";
iconText = "";
description = "";
color [] = {1,1,1,1};
duration = 5;
priority = 0;
difficulty[] = {};
};
class TaskCompleted1
{
title = "TASK COMPLETED";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "Poor vehicle.";
};
};
//////////////////// NOTIFICATIONS END ////////////////////////////
Please tell me, that I missed something obvious. I tried to comment out line by line, but for no succes.