A3Wasteland / ArmA3_Wasteland.Malden

A3Wasteland is a survival sandbox mission for Arma 3 where two teams and independent players fight for survival. Built in collaboration between GoT, TPG, KoS, 404Games, and others.  –
http://a3wasteland.com/
GNU Affero General Public License v3.0
6 stars 14 forks source link

1.4c vehicleCreation.sqf, line 61 #3

Closed 1datatec closed 6 years ago

1datatec commented 6 years ago

20:53:32 Error in expression <ms ["_mag", "_path", "_ammo"]; _vehicle setMagazineTurretAmmo [_mag, _path, floo> 20:53:32 Error position: <setMagazineTurretAmmo [_mag, _path, floo> 20:53:32 Error Type Array, expected Number 20:53:32 File mpmissions__cur_mp.Malden\server\spawning\vehicleCreation.sqf, line 61

The file is exactly like on your github. Where do i dig? It's about if (_vehicleType isKindOf "Offroad_01_AT_base_F") then as i understand

AgentRev commented 6 years ago

Oops I didn't test that file, the correct syntax is

_vehicle setMagazineTurretAmmo [_mag, floor random 3, _path];
1datatec commented 6 years ago

Ok i just converted my malden server to 1.4c, didn't see anything erroring in logs. Good job!!! p.s. Stratis also ;)