JoSchaap / GoT_Wasteland_V2.Stratis

WARNING! This repo is no longer updated, find the updated version on the A3Wasteland git! -
http://www.a3wasteland.com
11 stars 20 forks source link

alot of errors on dev branch #68

Closed JoSchaap closed 11 years ago

JoSchaap commented 11 years ago

lets hope either bis get's their debugging straight or i learn how to declare variables properly atm for DEV the mission is FUBAR

JoSchaap commented 11 years ago

first attempt in fixing this is in: d16ebc7e168cfa0797bf0019e0497af95115c3f1

JoSchaap commented 11 years ago

first tester says it seems fixed :+1:

need to confirm myself tonight, both servers updated and running this on latest DEV branch :)

[NL] GoT Wasteland v2.3(test) #1 [NIGHT/BaseSaving] [VETERAN/3RDP:ON/VON:ON] [NL] GoT Wasteland v2.3(test) #2 [DAY/BaseSaving] [VETERAN/3RDP:ON/VON:ON]

JoSchaap commented 11 years ago

just need to fix the deletevehicle function being an ass :)

15:18:58 Error in expression <ed };

if(_failed) then {

if not(isNil _vehicle) then {deleteVehicle _vehicle;}> 15:18:58 Error position: <_vehicle) then {deleteVehicle _vehicle;}> 15:18:58 Error Undefined variable in expression: _vehicle 15:18:58 File mpmissions__cur_mp.Stratis\server\missions\sideMissions\mission_HostileHelicopter.sqf, line 110

AgentRev commented 11 years ago

You forgot quotes: not(isNil "_vehicle")

And looking at the file, _vehicle will always be nil, because it doesn't seem to be assigned anywhere in the same locality as your not isNil condition.

JoSchaap commented 11 years ago

oh wow.. thats just.. slaps forhead

gotta love scripting... where every character counts :+1:

JoSchaap commented 11 years ago

abfdf4ede98627f1d0e1155e34bf573eea6b4659