Jump to content
bigshot

New BIS_fnc_SpawnGroup Error

Recommended Posts

Sometimes while using the BIS_fnc_SpawnGroup in my mission it throws this error ( I use it in many places at many different times throughout the mission but it doesn't always throw this error...it only happens sometimes and I cant figure out why):

 

Here's the error:

20:19:00 Error in expression <"_charsType", "_types"];

_chars = _this param [2, [], [[], 0, configFile]];
_cha>
20:19:00   Error position: <param [2, [], [[], 0, configFile]];
_cha>
20:19:00   Error Type String, expected Number,Array,Config entry
20:19:00 File A3\functions_f\spawning\fn_spawnGroup.sqf [BIS_fnc_spawnGroup], line 42

 

This never used to happen before the last patch (not todays patch, but the patch before it). Has something intentionally been changed to alter the way that spawngroup.sqf works now, or is this a bug?

 

**EDIT - Well, I found the exact issue. Apparently, you cannot use an empty string to temporarily define a variable (globalvariable = "") which will later be used/defined as a config group. Something must have recently changed in Arma3 since the last patch or 2 (somewhere around or after v1.70) because I was doing it that way for a long time before with no errors thrown at all.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×