marker 1 Posted October 7, 2012 Hey guys!! Getting really strange errors within my RPT file! It doesn't matter if it's a complicated script that I am trying to write (& failing usually :)), I am constantly getting "missing ; " errors! I even get it with sleep 2; for example! Anyone got any ideas? Thanks Share this post Link to post Share on other sites
blackmamb 2 Posted October 7, 2012 I'm afraid we can't help you if we don't see the script. Now, there are some ideas: - typos will usually do that - wrong type of arguments for commands - commands used in a wrong way (e.g. sleep used in a non-scheduled environment) Share this post Link to post Share on other sites
marker 1 Posted October 7, 2012 I'll get a couple of example when I get home!! Just biding time in work!! Cheers Share this post Link to post Share on other sites
buliwyf 4 Posted October 7, 2012 If you use sleep 2; instead of ~2 in a SQS-file you will get those errors... ;) Share this post Link to post Share on other sites
Horner 13 Posted October 7, 2012 Or, maybe it's a little more simple than that. If you don't use an ";" at the end of a command, the next command or line of the script will produce an error. Share this post Link to post Share on other sites
marker 1 Posted October 7, 2012 Mission script is here.. //Laser Mission sleep random 15; // a random sleep time hint "Call an Airstike In!"; //creating the position private ["_rad","_cnps","_hills","_hillcount","_hillnum","_hill","_marker","_boxes","_numb","_boxnum","_box"]; _rad=20000; _cnps = getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; { _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; }; //creating the marker _hillpos = getpos _hill; _marker = createMarker ["Laser Designater",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Laser Designater"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["BAF_Offroad_W","BAF_Offroad_D"] call BIS_fnc_selectRandom; laser = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; laser setFuel 1; clearWeaponCargo laser; laser addWeaponCargoGlobal ["laserdesignator", 1]; laser addMagazineCargoGlobal ["laserbatteries", 1]; // finishing off waitUntil { Player distance laser < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Well Done! Harrier standing by."] call RE; [nil,nil,rHINT,"Bomb the crap out of somthing!"] call RE; sleep 3; hint ""; [] execVM "laserairstrike.sqf"; sleep 2; [] execVM ["missionfinder.sqf"]; missionfinder.sqf just picks random missions from 6.. All he missions are using the same code as above, except different vehicles, nothing majorly complicated to you guys I am sure! Code for that is. //Mission Select if(!isServer) exitWith {}; waituntil {!isnil "bis_fnc_init"}; //waiting _missions = ["mission1","mission2","mission3","mission4","mission5","mission6"]; //mission array _choose = _missions call BIS_fnc_selectRandom; // random mission [] execVM format ["%1.sqf",_choose]; //call mission Error I am getting usually is. sleep random 15;hint "Capture the Artillery F> Error position: <random 15; hint "Capture the Artillery F> Error Missing ; File C:\Users\Robbie\Documents\ArmA 2 Other Profiles\MarKeR\missions\mhqtest.Chernarus\mission3.sqf, line 3 Error in expression <mhqtest.Chernarus\mission3.sqf" Any help would be appreciated! I am positive I will have done something wrong, strange that the first random choice works fine without errors, then the next one fails! Thanks Share this post Link to post Share on other sites
kylania 568 Posted October 7, 2012 Why not have one script that picks random vehicles instead of having six scripts called randomly that spawn static vehicles? A lot less code to maintain, a single place to look for errors or change things. Is that mission3.sqf there or mission1.sqf? Share this post Link to post Share on other sites
blackmamb 2 Posted October 7, 2012 Well that error you point out happens in mission3.sqf, which is not one of the scripts you gave us. Looks like a typo to me. (semicolon omission on the hints, probably) Share this post Link to post Share on other sites
marker 1 Posted October 7, 2012 (edited) Mission3 as below.. You can see it is virtually indentical! As I said, the 6 missions are the same code, just really different vehicles! //Artillery Mission sleep random 15; hint "Capture the Artillery First!!!"; private ["_rad","_cnps","_hills","_hillcount","_hillnum","_hill","_marker","_boxes","_numb","_boxnum","_box"]; _rad=20000; _cnps = getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; { _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; }; _hillpos = getpos _hill; _marker = createMarker ["Mobile Artillery",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Mobile Artillery"; _marker setMarkerSize [1,1]; _veh = ["MLRS_DES_EP1","GRAD_CDF"] call BIS_fnc_selectRandom; art = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; art setFuel 1; art setVehicleAmmo 1; waitUntil { Player distance art < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Destroy some shit soldier!!"] call RE; sleep 3; hint ""; [] execVM ["missionfinder.sqf"]; Thanks @Kylania If I did that, how or what would I use to describe the marker and in the incoming hints & texts! Mission 1 is in OP, mission 3 in this post! Edited October 7, 2012 by marker Response to Kylania Share this post Link to post Share on other sites
blackmamb 2 Posted October 7, 2012 Just tested that, and it doesn't return any error to me? Share this post Link to post Share on other sites
kylania 568 Posted October 7, 2012 As I said, the 6 missions are the same code, just really different vehicles! That's exactly the situation where you want to have a single script/function instead of 6 different ones where just one thing changes. Share this post Link to post Share on other sites
marker 1 Posted October 7, 2012 Thanks guys!! Strange mamba, as I said the first one runs ok, no matter what mission is called, it's the next one called, no matter what one that creates the error! The only mods I have running, are the CBA mods! Those wouldn't be causing it on my machine, would they? Kylania, sorry I edited my last post to reply to you... I asked, how would I differentiate the spawned vehicle to produce the correct hints,sidechat and markers? Thanks for the help guys.. Much appreciated! Share this post Link to post Share on other sites
kylania 568 Posted October 8, 2012 (edited) Something like this: See post #18. So your missionfinder script will pass a keyword for which type of mission you wanted to the makemission.sqf script. Then that script would have a function for each type of mission and the find pos function each shares then use a switch/case thing to actually execute it based on the keyword you fed in to the script. To add new missions just add new function blocks and case statements to the one mission script. Edited October 8, 2012 by kylania Share this post Link to post Share on other sites
marker 1 Posted October 8, 2012 Thanks kylania.. Will give that a try tonight.. Just out of curiousity what programme are you guys using to write your scripts? I use notepad++, just wondering if that has a strange format problem that is causing the spurious error; problems I have been having! Or maybe, at worst case scenario, a new fesh install incase my arma is corrupt? Thanks again. Share this post Link to post Share on other sites
blackmamb 2 Posted October 8, 2012 I do use Notepad++, and rest assured it's not, in any case, the reason of your issues. I even recommend using this, as it can prevent you from suffering stupid typos, and makes it pretty easy to work on several scripts at once. It also has a nice bunch of useful functionalities. Share this post Link to post Share on other sites
kylania 568 Posted October 8, 2012 I use ArmA Edit (Program and Update). Sometimes if I'm feeling frisky I'll use Sublime Text 2 with the SQF formatting. Share this post Link to post Share on other sites
marker 1 Posted October 8, 2012 Hi Kylania.. Thanks again for helping out, one more query if you can please! The random selection works great, every time the script is restarted I get a different mission. Unfortunately the marker doesn't appear and I cannot see why, could you possibly have a look please? it doesn't matter what mission is chosen it is still the same error, which is below! Error in expression <int "Call an Airstike In!"; _marker = createMarker ["Laser Designater",_hillpo> Error position: <createMarker ["Laser Designater",_hillpo> Error 0 elements provided, 3 expected File C:\Users\*******\Documents\ArmA 2 Other Profiles\MarKeR\missions\mhqtest.Chernarus\makemission.sqf, line 190 Which would be the lines here hint "Call an Airstike In!"; _marker = createMarker ["Laser Designater",_hillpos]; //line 190 _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Laser Designater"; _marker setMarkerSize [1,1]; From the code you gave me to use which is now! ////////////////////////////////////////////////////////////////// // Function file for Armed Assault // Created by: TODO: Author Name ////////////////////////////////////////////////////////////////// // Mission _missionType = _this select 0; sleep random 15; fn_findMissionSpot = { //creating the position private ["_rad","_cnps","_hills","_hillcount","_hillnum","_hill","_marker","_boxes","_numb","_boxnum","_box"]; _rad=20000; _cnps = getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; { _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; }; }; fn_spawnArtyMission = { hint "Capture the Artillery First!!!"; //creating the marker _hillpos = getpos _hill; _marker = createMarker ["Mobile Artillery",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Mobile Artillery"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["MLRS_DES_EP1","GRAD_CDF"] call BIS_fnc_selectRandom; art = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; art setFuel 1; art setVehicleAmmo 1; waitUntil { Player distance art < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Destroy some shit soldier!!"] call RE; sleep 3; hint ""; }; fn_spawnTankMission = { hint "Secure the MBT"; //creating the marker _marker = createMarker ["Secure MBT",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Secure MBT"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["T90","M2A3_EP1","T34","M1A1","T72_INS","T55_TK_GUE_EP1","BMP2_HQ_TK_EP1"] call BIS_fnc_selectRandom; tank = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; tank setFuel 1; tank setVehicleAmmo 1; waitUntil { Player distance tank < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"You got the MBT, you're in control now!"] call RE; [nil,nil,rHINT,"Destroy some shit soldier!!"] call RE; sleep 3; hint ""; }; fn_spawnHeliMission = { hint "Get to the CHOPPPAAA!"; //creating the marker _marker = createMarker ["Chopper",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Chopper"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["UH60M_MEV_EP1","UH1H_TK_GUE_EP1","Mi17_Ins","CH_47F_EP1","BAF_Merlin_HC3_D","MH6J_EP1","MV22","CH_47F_EP1"] call BIS_fnc_selectRandom; heli = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; heli setFuel 1; heli setVehicleAmmo 1; waitUntil { Player distance heli < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Congrats on getting to the CHOPPPPAA!"] call RE; sleep 3; hint ""; }; fn_spawnTruckMission = { hint "Get to the abandoned fuel truck!"; //creating the marker _marker = createMarker ["Fuel Truck",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Fuel Truck"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["MtvrRefuel_DES_EP1","UralRefuel_TK_EP1"] call BIS_fnc_selectRandom; truck = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; truck setFuel 1; truck setVehicleAmmo 1; waitUntil { Player distance truck < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Keep your vehicles moving!"] call RE; sleep 3; hint ""; }; fn_spawnC130Mission = { hint "A C130 has crashed, get the supplies!!"; _marker = createMarker ["C130",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "C130"; _marker setMarkerSize [1,1]; c130wreck = createVehicle ["C130J_wreck_EP1",[(getpos _hill select 0) + 30, getpos _hill select 1,0],[], 0, "NONE"]; box = createVehicle ["USOrdnanceBox",[(getpos _hill select 0) - 10, getpos _hill select 1,0],[], 0, "NONE"]; box2 = createVehicle ["USBasicWeaponsBox",[(getpos _hill select 0) - 10, (getpos _hill select 1) - 10,0],[], 0, "NONE"]; waitUntil { Player distance c130wreck < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Well Done! Ammo supplies are yours."] call RE; [nil,nil,rHINT,"Re-arm and kill!!"] call RE; sleep 3; hint "" }; fn_spawnHarrierMission = { hint "Call an Airstike In!"; _marker = createMarker ["Laser Designater",_hillpos]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Laser Designater"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["BAF_Offroad_W","BAF_Offroad_D"] call BIS_fnc_selectRandom; laser = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; laser setFuel 1; clearWeaponCargo laser; laser addWeaponCargoGlobal ["laserdesignator", 1]; laser addMagazineCargoGlobal ["laserbatteries", 1]; // finishing off waitUntil { Player distance laser < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Well Done! Harrier standing by."] call RE; [nil,nil,rHINT,"Bomb the crap out of somthing!"] call RE; sleep 3; hint ""; [] execVM "laserairstrike.sqf"; sleep 2; }; // MAIN LOGIC _missionDetails = switch (_missionType) do { case "arty": { call fn_findMissionSpot; call fn_spawnArtyMission;}; case "tank": { call fn_findMissionSpot; call fn_spawnTankMission;}; case "heli": { call fn_findMissionSpot; call fn_spawnTankMission;}; case "truck": { call fn_findMissionSpot; call fn_spawnTruckMission;}; case "c130wreck": { call fn_findMissionSpot; call fn_spawnTankMission;}; case "harrier": { call fn_findMissionSpot; call fn_spawnHarrierMission;}; }; [] execVM ["missionfinder.sqf"]; Much obliged mate! Share this post Link to post Share on other sites
kylania 568 Posted October 8, 2012 (edited) Sorry, hadn't actually looked at your code, just rearranged it. This is working: missionfinder.sqf: //Mission Select if(!isServer) exitWith {}; waituntil {!isnil "bis_fnc_init"}; //waiting _missions = ["arty","harrier","tank","heli","truck","c130wreck"]; //mission array _choose = _missions call BIS_fnc_selectRandom; // random mission [_choose] execVM "makemission.sqf"; //call mission makemission.sqf: // Mission _missionType = _this select 0; sleep random 15; fn_findMissionSpot = { //creating the position private ["_rad","_cnps","_hills","_hillcount","_hillnum","_hill","_marker","_boxes","_numb","_boxnum","_box"]; _rad=20000; _cnps = getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"); _hills = nearestLocations [_cnps, ["FlatArea"], _rad]; _hillcount = count _hills; _hillnum = floor (random _hillcount); _hill = _hills select _hillnum; //player sideChat format["Cnps: %1 Hills: %2 Cnt: %3 Num: %4 Result: %5", _cnps,_hills,_hillcount,_hillnum,_hill]; getPos _hill }; fn_spawnArtyMission = { hint "Capture the Artillery First!!!"; //creating the marker _marker = createMarker ["Mobile Artillery", call fn_findMissionSpot]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Mobile Artillery"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["MLRS_DES_EP1","GRAD_CDF"] call BIS_fnc_selectRandom; art = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; art setFuel 1; art setVehicleAmmo 1; waitUntil { Player distance art < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Destroy some shit soldier!!"] call RE; sleep 3; hint ""; }; fn_spawnTankMission = { hint "Secure the MBT"; //creating the marker _marker = createMarker ["Secure MBT", call fn_findMissionSpot]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Secure MBT"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["T90","M2A3_EP1","T34","M1A1","T72_INS","T55_TK_GUE_EP1","BMP2_HQ_TK_EP1"] call BIS_fnc_selectRandom; tank = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; tank setFuel 1; tank setVehicleAmmo 1; waitUntil { Player distance tank < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"You got the MBT, you're in control now!"] call RE; [nil,nil,rHINT,"Destroy some shit soldier!!"] call RE; sleep 3; hint ""; }; fn_spawnHeliMission = { hint "Get to the CHOPPPAAA!"; //creating the marker _marker = createMarker ["Chopper", call fn_findMissionSpot]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Chopper"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["UH60M_MEV_EP1","UH1H_TK_GUE_EP1","Mi17_Ins","CH_47F_EP1","BAF_Merlin_HC3_D","MH6J_EP1","MV22","CH_47F_EP1"] call BIS_fnc_selectRandom; heli = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; heli setFuel 1; heli setVehicleAmmo 1; waitUntil { Player distance heli < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Congrats on getting to the CHOPPPPAA!"] call RE; sleep 3; hint ""; }; fn_spawnTruckMission = { hint "Get to the abandoned fuel truck!"; //creating the marker _marker = createMarker ["Fuel Truck", call fn_findMissionSpot]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Fuel Truck"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["MtvrRefuel_DES_EP1","UralRefuel_TK_EP1"] call BIS_fnc_selectRandom; truck = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; truck setFuel 1; truck setVehicleAmmo 1; waitUntil { Player distance truck < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Excellent work,use it to your advantage"] call RE; [nil,nil,rHINT,"Keep your vehicles moving!"] call RE; sleep 3; hint ""; }; fn_spawnC130Mission = { hint "A C130 has crashed, get the supplies!!"; _marker = createMarker ["C130", call fn_findMissionSpot]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "C130"; _marker setMarkerSize [1,1]; c130wreck = createVehicle ["C130J_wreck_EP1",[(getpos _hill select 0) + 30, getpos _hill select 1,0],[], 0, "NONE"]; box = createVehicle ["USOrdnanceBox",[(getpos _hill select 0) - 10, getpos _hill select 1,0],[], 0, "NONE"]; box2 = createVehicle ["USBasicWeaponsBox",[(getpos _hill select 0) - 10, (getpos _hill select 1) - 10,0],[], 0, "NONE"]; waitUntil { Player distance c130wreck < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Well Done! Ammo supplies are yours."] call RE; [nil,nil,rHINT,"Re-arm and kill!!"] call RE; sleep 3; hint "" }; fn_spawnHarrierMission = { hint "Call an Airstike In!"; _marker = createMarker ["Laser Designater", call fn_findMissionSpot]; _marker setMarkerType "mil_destroy"; _marker setMarkerColor "ColorRed"; _marker setMarkerText "Laser Designater"; _marker setMarkerSize [1,1]; //creating the vehicle _veh = ["BAF_Offroad_W","BAF_Offroad_D"] call BIS_fnc_selectRandom; laser = createVehicle [_veh,[(getMarkerpos _marker select 0) + 30, getMarkerpos _marker select 1,0],[], 0, "NONE"]; laser setFuel 1; clearWeaponCargo laser; laser addWeaponCargoGlobal ["laserdesignator", 1]; laser addMagazineCargoGlobal ["laserbatteries", 1]; // finishing off waitUntil { Player distance laser < 20}; deleteMarker _marker; [player,nil,rSIDECHAT,"Well Done! Harrier standing by."] call RE; [nil,nil,rHINT,"Bomb the crap out of somthing!"] call RE; sleep 3; hint ""; [] execVM "laserairstrike.sqf"; sleep 2; }; // MAIN LOGIC _missionDetails = switch (_missionType) do { case "arty": {call fn_spawnArtyMission;}; case "tank": {call fn_spawnTankMission;}; case "heli": {call fn_spawnTankMission;}; case "truck": {call fn_spawnTruckMission;}; case "c130wreck": {call fn_spawnTankMission;}; case "harrier": {call fn_spawnHarrierMission;}; }; nul = [] execVM "missionfinder.sqf"; Cleaned up your location finding code and changed where we call it from and how we use it. Oh, one other thing, this script entirely fails if there are no "FlatArea" on the map, such as Shapur, where I first started testing it and wondered why it wasn't working! :) Edited October 8, 2012 by kylania Share this post Link to post Share on other sites
marker 1 Posted October 8, 2012 Thank you very much mate!! Learning loads from you all! Really funny though, been testing it for past 20 minutes, and the first 5 missions were all the same :) .. Then we got other ones.. Yay for random functions :) Again, thank you very very much! Share this post Link to post Share on other sites