Jump to content

cougarxr7

Member
  • Content Count

    98
  • Joined

  • Last visited

  • Medals

Everything posted by cougarxr7

  1. I tried this in my core.sqf. It was, displayVendor = findDisplay 100; Now it's, ((uiNamespace getVariable 'displayVendor') findDisplay 100) ctrlShow true; displayVendor = findDisplay 100; and got this error, "Error in expression <iNamespace getVariable 'displayVendor') findDisplay 100) ctrlShow true; displayV> Error position: <findDisplay 100) ctrlShow true; displayV> Error Missing ) File C:\Documents and Settings\Cougar\My Documents\ArmA 2\missions\EVO_UNLOCKED_ULTIMATE_COMBAT.Chernarus\data\scripts\Core.sqf, line 3 The uiNamespace line is line 3. I'm thinking I need to remove the second line becasue the uiNamespace takes care of that, yes? Still confused about the missing ). Any ideas?? Thanks
  2. I've searched and found nothing on this. Does anyone know how to set a condition for helos being close to a marker? ie, "if (helo < 100 helopad) then" Also how do you set hints up so all can see? THANKS!
  3. I thought the vehicle player would be checked to see if that player is in the helo being it says "isKindOf "Air". Then that player would be in the "Air", in a helo. Not the one calling for the evac. Then vehicle player would be checked for distances from the epad, 1 at 300m to create smoke. then the 2nd one at 50m to delete the map marker and helo pad. I hope I cleared it up for you. If there is a better syntax for the triggers to detect the helo, please let me know. All I'm trying to do now is to get the triggers to detect the helo. Thanks!
  4. Hello, I'm am getting an error with this , "if((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 300)then" This is for a Helo evac. When the Helo gets within 300 meters of the Helo pad the condition should go true. I know the error is caused after the "and". I believe "Distance" is to be used with an array. I'd really like to get this to work. Thanks!
  5. Ok, I have made some changes in the script. I am now using this one. pevac.sqf BIS_EVO_EVAC = player sidechat "NEEDS IMMEDIATE EVAC!"; text ="NEEDS IMMEDIATE EVAC!"; _txtpasshead = "PLAYER REQUEST"; _txtpassbody = format["%1 NEEDS EVAC",(name player)]; ["#0000FF",_txtpasshead,_txtpassbody]call BIS_EVO_Message; deletevehicle esmoke; deletevehicle epad; _mark = format["%1 NEEDS EVAC",(name player)]; deleteMarker _mark; player playMove "AinvPknlMstpSlayWrflDnon_medic"; sleep 3.0; WaitUntil {animationState player != "AinvPknlMstpSlayWrflDnon_medic"}; epad = "HeliH" createVehicle (position player); _pos = position epad; _pos2 = [_pos select 0,(_pos select 1) - 18,_pos select 2]; _trgobj3 = createTrigger ["EmptyDetector", _pos]; _trgobj3 setTriggerActivation ["WEST", "PRESENT", true]; _trgobj3 setTriggerArea [300, 300, 0, false]; _trgobj3 setpos position epad; _txtpasshead = "pevac.sqf"; _txtpassbody = format["Position = %1",_pos]; ["#0000FF",_txtpasshead,_txtpassbody]call BIS_EVO_Message; if(((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 300))then { esmoke = "SmokeShellGreen" createVehicle _pos2; _trgobj3 = createTrigger ["EmptyDetector", _pos]; _trgobj3 setTriggerActivation ["WEST", "PRESENT", true]; _trgobj3 setTriggerArea [100, 100, 0, false]; _trgobj3 setpos position _pos; _txtpasshead = "pevac.sqf"; _txtpassbody = format["Position = %1",_pos2]; ["#0000FF",_txtpasshead,_txtpassbody]call BIS_EVO_Message; if (((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 30))then { deletevehicle esmoke; deletevehicle epad; deleteMarker _mark; }; }; BIS_EVO_EngZone setpos _pos; epad addEventHandler ["killed", {handle = [_this select 0] execVM "data\scripts\bury.sqf"}]; esmoke addEventHandler ["killed", {handle = [_this select 0] execVM "data\scripts\bury.sqf"}]; _mssg = format["%1 NEEDS EVAC",(name player)]; _medmark = createMarker [_mark, _pos]; _medmark setMarkerShape "ICON"; _medmark setMarkerType "b_hq"; _medmark setMarkerColor "ColorRed"; _medmark setMarkerText _mssg; _medmark setMarkerSize [0.5, 0.5]; The first trigger is working. My condition statement is not working, "if(((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 300))then " The second trigger is not firing when the helo is within 300 meters. If anyone can see why my condition is not working please help. I am not getting any errors at this time. Thanks for the help!
  6. Thanks for the reply Fincuan. Here's a better detail of what I am trying to do. A player can call for an "Evacuation" via radio. When he does he creates a helo pad at his position and he also creates a marker on the map at his position too. Also I am trying to get the hint to be read global that says "players name" NEEDS EVAC. I have a file called "Pevac.sqf" Here it is. BIS_EVO_EVAC = player sidechat "NEEDS IMMEDIATE EVAC!";<<trying to make this for all to see>> text ="NEEDS IMMEDIATE EVAC!"; _txtpasshead = "PLAYER REQUEST"; _txtpassbody = format["%1 NEEDS EVAC",(name player)]; ["#0000FF",_txtpasshead,_txtpassbody]call BIS_EVO_Message; _mark = format["%1 NEEDS EVAC",(name player)]; player playMove "AinvPknlMstpSlayWrflDnon_medic"; sleep 3.0; WaitUntil {animationState player != "AinvPknlMstpSlayWrflDnon_medic"}; epad = "HeliH" createVehicle (position player); _pos = position epad; waitUntil(((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 300))then { _pos2 = [_pos select 0,(_pos select 1) - 18,_pos select 2]; esmoke = "SmokeShellGreen" createVehicle _pos2; }; waitUntil (((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 10))then { deletevehicle esmoke; deletevehicle epad; deleteMarker _mark; }; BIS_EVO_EngZone setpos _pos; etent addEventHandler ["killed", {handle = [_this select 0] execVM "data\scripts\bury.sqf"}]; ebox addEventHandler ["killed", {handle = [_this select 0] execVM "data\scripts\bury.sqf"}]; _mssg = format["%1 NEEDS EVAC",(name player)]; _medmark = createMarker [_mark, _pos]; _medmark setMarkerShape "ICON"; _medmark setMarkerType "b_hq"; _medmark setMarkerColor "ColorRed"; _medmark setMarkerText _mssg; _medmark setMarkerSize [0.5, 0.5]; Now 2 things need to happend. 1. When helo gets within a certain distance from the helo pad, green smoke should appear. 2. When helo gets within a very very close distance from the helo pad, the helo pad and map marker should get deleted. The "waituntil" threw an error of which I'm sure it is because of my condition syntax. Thanks for helping, not giving up until this works. Back to troubleshooting! Again thanks!
  7. Xeno, thank you, no more error! However script still not working. if(((vehicle player) isKindOf "Air") and ((vehicle player) distance epad < 300))then { _pos2 = [_pos select 0,(_pos select 1) - 18,_pos select 2]; esmoke = "SmokeShellGreen" createVehicle _pos2; }; No smoke got created. I believe I need to create a trigger for this. Will figure this out. Again thanks!
  8. I have this sqf file that refills my trucks and helos with ammo. It's called AmmoRefill.sqf from Creative Commons Attribution. I added a section for Satchels, But I keep getting this error, from the RPT file. "Warning Message: Error: creating weapon PipeBomb with scope=private" Look for "_magazines =" close to the bottom of the file. AmmoRefill.sqf // (C) ArMaTeC 2009, armatec0@gmail.com "; // Released under Creative Commons Attribution-Noncommercial-Share Alike 2.0 UK:England & Wales License "; // http://creativecommons.org/licenses/by-nc-sa/2.0/uk/"; _ammobox = _this select 0; _waitrnd = 0; _waitrnd = ( 300 + round( random 600 ) ); clearWeaponCargo _ammobox; clearMagazineCargo _ammobox; _Rifles = [ [ "AK-107", "AK_107_kobra", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "AK-107 / GP25", "AK_107_GL_kobra", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD", "1Rnd_HE_GP25", "FlareWhite_GP25", "FlareGreen_GP25", "FlareRed_GP25", "FlareYellow_GP25", "1Rnd_SMOKE_GP25", "1Rnd_SMOKERED_GP25", "1Rnd_SMOKEGREEN_GP25", "1Rnd_SMOKEYELLOW_GP25" ] ], [ "AK107 / GP25 PSO", "AK_107_GL_pso", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD", "1Rnd_HE_GP25", "FlareWhite_GP25", "FlareGreen_GP25", "FlareRed_GP25", "FlareYellow_GP25", "1Rnd_SMOKE_GP25", "1Rnd_SMOKERED_GP25", "1Rnd_SMOKEGREEN_GP25", "1Rnd_SMOKEYELLOW_GP25" ] ], [ "AK-107 PSO", "AK_107_pso", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "AK-74", "AK_74", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "AK-74 / GP25", "AK_74_GL", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD", "1Rnd_HE_GP25", "FlareWhite_GP25", "FlareGreen_GP25", "FlareRed_GP25", "FlareYellow_GP25", "1Rnd_SMOKE_GP25", "1Rnd_SMOKERED_GP25", "1Rnd_SMOKEGREEN_GP25", "1Rnd_SMOKEYELLOW_GP25" ] ], [ "AKM", "AK_47_M", [ "30Rnd_762x39_AK47" ] ], [ "AKS", "AK_47_S", [ "30Rnd_762x39_AK47" ] ], [ "AKS-74 Kobra", "AKS_74_kobra", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "AKS-74 PSO", "AKS_74_pso", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "AKS-74U", "AKS_74_U", [ "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "AKS-74UN Kobra", "AKS_74_UN_kobra", [ "30Rnd_545x39_AKSD" ] ], [ "Bizon PP-19", "Bizon", [ "64Rnd_9x19_Bizon", "64Rnd_9x19_SD_Bizon" ] ], [ "Bizon PP-19 SD", "bizon_silenced", [ "64Rnd_9x19_SD_Bizon", "64Rnd_9x19_Bizon" ] ], [ "G36", "G36a", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ], [ "G36C", "G36C", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ], [ "G36C Eotech SD", "G36_C_SD_eotech", [ "30Rnd_556x45_G36SD", "30Rnd_556x45_StanagSD" ] ], [ "G36K", "G36K", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ], [ "M1014", "M1014", [ "8Rnd_B_Beneli_74Slug" ] ], [ "M16A2", "M16A2", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "M16A2 / M203", "M16A2GL", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203", "1Rnd_SmokeGreen_M203", "1Rnd_SmokeYellow_M203" ] ], [ "M16A4", "M16A4", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "M16A4 / M203", "M16A4_GL", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203" ] ], [ "M16A4 / M203 RCO", "M16A4_ACG_GL", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203" ] ], [ "M16A4 RCO", "M16A4_ACG", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "M4A1", "M4A1", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "M4A1 / M203 Holo", "M4A1_HWS_GL", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203" ] ], [ "M4A1 / M203 Holo Camo", "M4A1_HWS_GL_camo", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203" ] ], [ "M4A1 / M203 Holo SD", "M4A1_HWS_GL_SD_Camo", [ "30Rnd_556x45_StanagSD", "30Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203" ] ], [ "M4A1 / M203 RCO", "M4A1_RCO_GL", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "1Rnd_HE_M203", "FlareWhite_M203", "FlareGreen_M203", "FlareRed_M203", "FlareYellow_M203", "1Rnd_Smoke_M203", "1Rnd_SmokeRed_M203" ] ], [ "M4A1 CCO", "M4A1_Aim", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "M4A1 CCO Camo", "M4A1_Aim_camo", [ "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "M4A1 CCO Camo SD", "M4A1_AIM_SD_camo", [ "30Rnd_556x45_StanagSD", "30Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "MP5A5", "MP5A5", [ "30Rnd_9x19_MP5", "30Rnd_9x19_MP5SD" ] ], [ "MP5SD6", "MP5SD", [ "30Rnd_9x19_MP5SD" ] ], [ "Saiga 12K", "Saiga12K", [ "8Rnd_B_Saiga12_74Slug" ] ], [ "VSS Vintorez", "VSS_vintorez", [ "10Rnd_9x39_SP5_VSS", "20Rnd_9x39_SP5_VSS" ] ], [ "XM8 Carabine", "M8_carbine", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ], [ "XM8 Carabine / M203", "M8_carbineGL", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ], [ "XM8 Compact", "M8_compact", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ] ]; _Machineguns = [ [ "MG36", "MG36", [ "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ], [ "Mk 48 Mod 0", "Mk_48", [ "100Rnd_762x51_M240" ] ], [ "M240", "M240", [ "100Rnd_762x51_M240" ] ], [ "M249", "M249", [ "200Rnd_556x45_M249", "30Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36", "30Rnd_556x45_G36SD" ] ], [ "Pecheneg", "Pecheneg", [ "100Rnd_762x54_PK" ] ], [ "PK", "PK", [ "100Rnd_762x54_PK" ] ], [ "RPK-74", "RPK_74", [ "75Rnd_545x39_RPK", "30Rnd_545x39_AK", "30Rnd_545x39_AKSD" ] ], [ "XM8 Automatic Rifle", "M8_SAW", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ] ]; _SniperRifles = [ [ "CZ 550 Scoped", "Huntingrifle", [ "5x_22_LR_17_HMR" ] ], [ "DMR", "DMR", [ "20Rnd_762x51_DMR" ] ], [ "KSVK", "KSVK", [ "5Rnd_127x108_KSVK" ] ], [ "M107", "M107", [ "10Rnd_127x99_m107" ] ], [ "M24", "M24", [ "5Rnd_762x51_M24" ] ], [ "M40A3", "M40A3", [ "5Rnd_762x51_M24" ] ], [ "Mk12 SPR", "M4SPR", [ "20Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD" ] ], [ "SVD", "SVD", [ "10Rnd_762x54_SVD" ] ], [ "SVD Camo", "SVD_CAMO", [ "10Rnd_762x54_SVD" ] ], [ "XM8 Sharpshooter", "M8_sharpshooter", [ "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD", "30Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "20Rnd_556x45_Stanag" ] ] ]; _Pistols = [ [ "M1911A1", "Colt1911", [ "7Rnd_45ACP_1911" ] ], [ "M9", "M9", [ "15Rnd_9x19_M9", "15Rnd_9x19_M9SD" ] ], [ "M9 Silenced", "M9SD", [ "15Rnd_9x19_M9SD", "15Rnd_9x19_M9" ] ], [ "Makarov PM", "Makarov", [ "8Rnd_9x18_Makarov", "8Rnd_9x18_MakarovSD" ] ], [ "Makarov Silenced", "MakarovSD", [ "8Rnd_9x18_MakarovSD", "8Rnd_9x18_Makarov" ] ] ]; _Launchers = [ [ "Igla", "Igla", [ "Igla" ] ], [ "Javelin", "Javelin", [ "Javelin" ] ], [ "M136", "M136", [ "M136" ] ], [ "Metis AT-13", "MetisLauncher", [ "AT13" ] ], [ "RPG-18", "RPG18", [ "RPG18" ] ], [ "RPG-7", "RPG7V", [ "PG7V", "PG7VL", "PG7VR", "OG7" ] ], [ "SMAW", "SMAW", [ "SMAW_HEAA", "SMAW_HEDP" ] ], [ "Stinger", "Stinger", [ "Stinger" ] ], [ "Strela", "Strela", [ "Strela" ] ] ]; _Misc = [ [ "Binocular", "Binocular", [ "empty" ] ], [ "Laserdesignator", "Laserdesignator", [ "Laserbatteries" ] ], [ "NV Goggles", "NVGoggles", [ "empty" ] ] ]; //////added////////////////////////////////// _magazines = [ [ "PipeBomb", "PipeBomb", [ "PipeBomb" ] ] ]; /////////////////////////////////////////////// _weapons = []; _weapons = _Rifles + _SniperRifles + _Machineguns + _Misc + _Launchers + _magazines; { { if !(_x == "empty")then { _ammobox addMagazineCargo [_x,10]; }; }foreach (_x select 2); _ammobox AddWeaponCargo [(_x select 1),10]; sleep 0.01; }foreach _weapons; _wait = 60 + _waitrnd; sleep _wait; _reWait = _time + 60; _ammobox setdammage 0; sleep 1.0; ammoboxtr = [ _ammobox ] execVM "data\scripts\AmmoRefill.sqf"; Thanks for the help!
  9. Thanks, ODEN, that worked! I added "pipebomb" under a weapon magazine!
  10. First let say from what I've been told we are not suppost to have this map. It was suppost to be used for testing only. Never meant to be played. First fix, find the BIS_EVO_CreateVehicle.sqf in your data\scripts folder. at the bottom of that file it is missing 2 semicolons on, _returnarray } to this _returnarray; }; Server operating system seem to forgive scripting syntax mistakes unlike XP. I'm not sure how many servers are running this mission or a version of it and yet if they do not finish or cycle to fix that do the foloowing. Find the file EVO_FillInf.sqf in data\scripts folder. BIS_EVO_FillInf = { _grp = _this select 0; _lpos = position leader _grp; //_allunits = ["RU_Soldier"]; _allunits = ["RU_Soldier_MG","RU_Soldier_HAT","RU_Soldier_HAT","RU_Soldier_HAT","RU_Soldier_Sniper","RU_Soldier_Medic","RU_Soldier_GL","RU_Soldier","RU_Soldier_AA","RU_Soldier_AA"]; _max = (count _allunits)-1; >>>> _count = 3;<<<<<<< CHANGE THIS TO 11 OR HOWEVER MANY TOWNS YOU HAVE AS TARGET OBJECTS. _j = 0; while {_j <= _count} do { _unit = _grp createUnit [_allunits select (round random _max), _lpos, [], 0, "FORM"]; _unit setSkill 2+(random 3); [_unit] join _grp; _j = _j+1; sleep 0.1; }; [_grp] call BIS_EVO_OrderSquad; }; Look in the same file for BIS_EVO_FillInfDummy although it is not being called or accessed, there is the same _count = # there, it can't hurt to change that one to 11 also. Capture Offficer marker not showing up, to fix this do this. Find the file objoff.sqf in your data\scripts folder. // server side capture officer script _off = _this select 0; _grp = group _off; _mark = format["M%1",_off]; _search = createMarker [_mark, [-5000,-5000,0]]; _search setMarkerType "mil_join"; _search setMarkerText localize "STR_M04t47_0"; _search setMarkerColor "ColorBlue"; _search setMarkerSize [0.5, 0.5]; _trgobj3 = createTrigger ["EmptyDetector", position _off]; _trgobj3 setTriggerActivation ["WEST", "PRESENT", true]; _trgobj3 setTriggerArea [200, 200, 0, false]; for [{_loop=0}, {_loop<1}, {_loop=_loop}] do { sleep 4.001; if (count list _trgobj3 > 0) then {_search setMarkerPos position _off}; _trgobj3 setpos position _off; Block out this line bellow like this. >>>>>>>>> //if ((group _off) != _grp) then {_loop=1}; if (not (alive _off)) then {_loop=1}; }; deletevehicle _trgobj3; deletemarker _search; Get within 200m of the Officer and his marker should show up. If that marker does not show up, chances are he was killed by his own men. Anyone needing anymore help just let me know.
  11. cougarxr7

    Deleting unused ammo

    Thanks Dawg, Got it working using the loadout recorder trigger on deact. Each time a player uses the armory he deletes his old ammo. Works great thanks!
  12. Players using ammo trucks leave their old ammo on the ground, is there a command to delete their old ammo? Like to find some sort of command to clean up the map. Thanks!
  13. cougarxr7

    Deleting unused ammo

    Thanks for the relpy Dawg, I tried that line of code in the players init, ammo truck init, and a repeating trigger. No luck. Where am I scewing up at?
  14. cestcomi, Benneb is correct, It would be better if you would add at the top of that BIS_EVO_fillinf.sqf, _count = _infcount or change it to how Benneb has his file.
  15. I fixed it. Old EVO_FillInf.sqf _grp = _this select 0; _lpos = position leader _grp; //_allunits = ["RU_Soldier"]; _allunits = ["RU_Soldier_MG","RU_Soldier_HAT","RU_Soldier_HAT","RU_Soldier_HAT","RU_Soldier_Sniper","RU_Soldier_Medic","RU_Soldier_GL","RU_Soldier","RU_Soldier_AA","RU_Soldier_AA","RU_Soldier_Medic","RU_Soldier_Medic"]; New EVO_FillInf.sqf _grp = _this select 0; _lpos = position leader _grp; _count = _infcount;<*************added this!***************> //_allunits = ["RU_Soldier"]; _allunits = ["RU_Soldier_MG","RU_Soldier_HAT","RU_Soldier_HAT","RU_Soldier_HAT","RU_Soldier_Sniper","RU_Soldier_Medic","RU_Soldier_GL","RU_Soldier","RU_Soldier_AA","RU_Soldier_AA","RU_Soldier_Medic","RU_Soldier_Medic"];
  16. Benneb, I tried what you said you did and broke the mission, could you post your fillinf.sqf? I was wondering how that _count in the fillinf.sqf could affect the _count in the missionmanager.sqf. I read that the underscore kept that variable in the sqf file it was in from being global or public but that did not happend here. Because they are being execVM from the sinit.sqf, is that was causes them to be in the same threadf? Could you explain that a little bit more? thanks!
  17. Benneb, do you have a thread/post with your find and fixes? I'd like to read more about them. If I'm not mistaken all that does is set a number to inf and then subtracts 1, yes,no? So set _count to = 11 means 10 inf, yes/no? thanks
  18. Kegetys, Thanks for the reply and info concerning this! Be nice to have this fixed! That link above goes to a version of Dead player spectating. Tried it and it did not work.
  19. Hello, I too have tried the the scripts and I also noticed, when in first person view on a unit, the screen gitches back and forth to a different view. If anyone has any info on this or an updated version, please post. thanks! Update! Here's a link to the updated version for Arma2. http://www.armaholic.com/page.php?id=421 Going to try it and will post results.
  20. cougarxr7

    get time

    I've searched, tried alot of commands, ex: _daytime = daytime That did not worked it returned the value of what is in the mission.sqm. However I am not able to get the actual time of the game. I don't mean the start time. What I am trying to get is the time in the game as it is on the watch. Can some help me? Thanks!
  21. cougarxr7

    get time

    Zone, thanks for replying! However I relize I was not clear as to what I am trying to do. I am trying to access the time var. So I can set it in an if statement, not just see it. Lets say this returns actual in game time. Eample: _wristwatch = time  if (_time > i) or (_time < x) then    true  else    false; That is what I am trying to find. How do you access the actual in game time. You would think something like "GetTime" would work for what I am trying to do. I hope I'm more clear now. Thanks!
  22. cougarxr7

    get time

    Thanks for the reply. That was one of the commands I tried. However it seems to me that array return is the start time of the mission in the mission.sqm. I included a hint for date select 3 and it showed the mission start time, yet the default start params overrode it and yet it did not return that override. Here is a pic of that. You will see the hint showing 1:00<mission.sqm and yet the watch shows 6:00<discription.ext param default start time http://i5.photobucket.com/albums/y188/Cougarxrr/asanarray.jpg Why 2 different times, its just a test. Besides the override would happen before the hint came up from the array yet the watch showed the actual in game time. So I am still at a lost of how to get the time in game at the time it is, as it shows up on the watch, and not the start time. I'll keep trying! Thanks!
×