Need help understanding this

I'm getting this error from my rpt:

bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
ErrorMessage: File mpmissions\__cur_mp.chernarus\mission.sqm, line 1319: /OutroLoose/Sensors/Item0/: '}' encountered instead of '{'
0:39:30 NetServer::finishDestroyPlayer(207114718): DESTROY immediately after CREATE, both cancelled

in reference to this piece of code:


class Sensors
{
items=1;
class Item0
{
position[]={4615.0078,339,9869.3428};
a=6;
b=6;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="HeliReload";
expCond="this and ((getpos (thislist select 0)) select 2 < 1)";
expActiv="_xhandle= [(thislist select 0)] execVM ""scriptsMZ\MZ_helo.sqf"";";
class Effects
};
};

the last line "class effects" is line 1319
 
Code:
""scriptsMZ\MZ_helo.sqf"";";

To:

Code:
"scriptsMZ\MZ_helo.sqf";

OR:

Code:
'scriptsMZ\MZ_helo.sqf';

OR

Code:
'scriptsMZ\MZ_helo.sqf';";

OR

Code:
'scriptsMZ\MZ_helo.sqf'";

I believe thats your problem, however im not familiar with SQM formatting so i could be wrong

Sorry for all the OR's

I believe its because its not liking a quoted function within quoted function. So one of those should/might solve your issue
 
Back
Top