Animated Heli Crash Help

Speed

New Member
Hello. Since adding animated heli crashes to my Overwatch 0.2.5 server (at least 3 weeks ago), no one on my server has seen a heli crash of any kind. Checked the RPT and I found these lines...

16:49:19 "CRASHSPAWNER: Starting spawn logic for animated helicrashs - written by Grafzahl [SC:false||PW:1||CD:1]"
16:49:19 "CRASHSPAWNER: 90000% chance to start a crashing Mi-17 with loot table 'MilitarySpecial' at 1527.76"

and

17:14:29 Error in expression <fnc_selectRandom;
} else {
_position = [getMarkerPos _spawnMarker,0,_spawnRadius>
17:14:29 Error position: <getMarkerPos _spawnMarker,0,_spawnRadius>
17:14:29 Error getmarkerpos: Type Number, expected String
17:14:29 File z\addons\dayz_server\compile\server_spawnCrashSite.sqf, line 115

There are also tons of likes like these two, not sure if they are related to heli crashes...

17:14:30 Ref to nonnetwork object 2d1af900# 1064912: wf_heliport_west.p3d
17:14:31 Wrong text element 'null'

Going to line 115 in server_spawnCrashSite.sqf, this is the code around it (115 is _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos; ) Also, I do not have static spawn locations enabled.

Code:
        _staticcoords =    [
                                            [6277.5605,8332.8262],
                                            [1234.5605,4321.8262],
                                            [4545.5605,1256.8262]
                                        ];

        if(_useStatic) then {
            _position = _staticcoords call BIS_fnc_selectRandom;
        } else {
            _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
        };
        //DEFAULT: GET COORDS FROM BIS_fnc_findSafePos, COMMENT OUT IF YOU USE _STATICCOORDS

        diag_log(format["CRASHSPAWNER: %1 started flying from %2 to %3 NOW!(TIME:%4||LT:%5)", _crashName,  str(_heliStart), str(_position), round(time), _lootTable]);
 
Last edited:
Back
Top