Page 1 of 1

Please help a dummy with this script error

Posted: Sun Nov 16, 2014 12:40 am
by lietuvis10
I get this error

Code: Select all

2:16:24 Error in expression < {};

["mkrAAF",200,resistance,21] call ws_fnc_createGarrison;
["mkrAAF3",50,res>
 2:16:24   Error position: <ws_fnc_createGarrison;
["mkrAAF3",50,res>
 2:16:24   Error Undefined variable in expression: ws_fnc_creategarrison
 2:16:24 File C:\Users\user\Documents\Arma 3 - Other Profiles\lietuvis10\mpmissions\fa3_c50_stavros_v1.Altis\spawncontrol.sqf, line 3
 2:16:25 Fresnel k must be >0, given n=2.51,k=0
when running this script:

Code: Select all

if !(isServer) exitWith {};

["mkrAAF",200,resistance,21] call ws_fnc_createGarrison;
["mkrAAF3",50,resistance,8] call ws_fnc_createGarrison;

[] execVM "f\setAISkill\f_setAISkill.sqf";
Any ideas?

Re: Please help a dummy with this script error

Posted: Sun Nov 16, 2014 8:53 am
by wolfenswan
It doesn't find the function. Have you changed the mission-name when saving it? In the editor press CTRL+F, seleft missionConfigFile from the top-left and check if you have a "F" and a "WS" category. If you have both, check if the "WS" one includes createGarrison.

If you can't find the issue upload the mission as a 7z and I'll have a peek.