swelod Posted June 29, 2015 Share Posted June 29, 2015 If you are not in the squad.xml (yet), you will get an error when joining a server: 17:05:18 Error in expression <foSquad = _infoArray select 0; _squad = _infoSquad select 1; _infoName = _infoAr> 17:05:18 Error position: <_infoSquad select 1; _infoName = _infoAr> 17:05:18 Error Undefined variable in expression: _infosquad 17:05:18 File C:\Users\Somename\Documents\Arma 3 - Other Profiles\Somename\mpmissions\co60_AW_Invade_Annex_2_83G.Altis\initPlayerLocal.sqf, line 152 In initPlayerLocal.sqf:150- _infoArray = squadParams player; _infoSquad = _infoArray select 0; _squad = _infoSquad select 1; _infoName = _infoArray select 1; _name = _infoName select 1; _email = _infoSquad select 2; The function sqaudParams can return "[]" and we get an error at "_squad = _infoSquad select 1". Might be: _infoArray = squadParams player; if (count _infoArray > 0) then { _infoSquad = _infoArray select 0; _squad = _infoSquad select 1; _infoName = _infoArray select 1; _name = _infoName select 1; _email = _infoSquad select 2; } else { _email = ""; }; or e.g. use BIS_fnc_param or... Edit: Happens at both EU#1 and EU#2: co60_AW_Invade_Annex_2_83G.Altis: initPlayerLocal.sqf line 152. co30_AW_Invade_Annex_2_83D-S.Stratis initPlayerLocal.sqf line 110. Link to comment Share on other sites More sharing options...
PERO Posted June 29, 2015 Share Posted June 29, 2015 Can you define in which mission version does that occur? Link to comment Share on other sites More sharing options...
BACONMOP Posted June 29, 2015 Share Posted June 29, 2015 I've known about that error but never fixed it because it is at the last line of the init and only executes locally. It doesn't cause an issue unless you have show script errors on and even then it's only the black box. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now