Jump to content

Search the Community

Showing results for tags 'supplpy drop'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 1 result

  1. Hi guys, though I am getting better to tackle scripting in Arma I still have some issues for some of my functions despite having searched the internet.. a lot. I am not a programmer and have no real background about scripting. I combine the work and scripts from others in this community and alter them for my own needs. I have fun fullfilling ideas I have for my dedicated server and the small group of friends frequently coming together. During my research, trial and errors I found out how flexible and powerful Arma can be. But enough of that. To my problems: 1. Running scripts on dedicated servers/ locality in MP I run a helicopter supply drop script (credits: soolie) available for the players via the radio menu (radio trigger) Problem: works well in single player. But in MP the script fires for all players (not only the initial caller) resulting in getting 1 helicopter for every player and multiple crates being dropped. Strangely when I am the only player on the server only one helicopter appears but it drops two crates simultaneously... tried different ways to call the script but I didn't get it running (lack of knowledge) Caller: ["supply\supply.sqf", "BIS_fnc_execVM", true] call BIS_fnc_MP; (tried also _nul = execVM "supply\supply.sqf";) Script: openMap [true,true]; clicked = 0; hintc "Left click on the map where you want the supplies dropped"; ["supplymapclick", "onMapSingleClick", { _supplyLocArray = [+1000,-1375,-1500,-1125,+1250,-1000,+1375,-1250,+1500,+1125]; //:::::::::::|USE THE ONE BELOW FOR TESTING, IT SPAWNS THE HELI MUCH CLOSER|::::::::::: //_supplyLocArray = [+500,-500]; _supplyRandomLocX = _supplyLocArray select floor random count _supplyLocArray; _supplyRandomLocY = _supplyLocArray select floor random count _supplyLocArray; _supply = [[(_pos select 0)+_supplyRandomLocX, (_pos select 1)+_supplyRandomLocY, (_pos select 2)+50], 180, "UK3CB_BAF_Merlin_HC3_24", WEST] call bis_fnc_spawnvehicle; _supplyHeli = _supply select 0; _supplyHeliPos = getPos _supplyHeli; _supplyMrkrHeli = createMarker ["supplyMrkrHeli", _supplyHeliPos]; _supplyCrew = _supply select 1; _supplyGrp = _supply select 2; _supplyGrp setSpeedMode "FULL"; _supplyGrp setBehaviour "CARELESS"; _supplyWP1 =_supplyGrp addWaypoint [(_pos),1]; _supplyWP1 setWaypointType "MOVE"; _supplyWP2 = _supplyGrp addWaypoint [[(_pos select 0)+_supplyRandomLocX, (_pos select 1)+_supplyRandomLocY, _pos select 2], 2]; _supplyMrkrLZ = createMarker ["supplyMrkrLZ", _pos]; "supplyMrkrLZ" setMarkerType "Empty"; "supplyMrkrHeli" setMarkerType "Empty"; _supplyHeli flyInHeight 150; clicked = 1; openmap [false,false]; onMapSingleClick '';}] call BIS_fnc_addStackedEventHandler; waitUntil {(clicked == 1)}; hint "The supplies are on the way"; _supplyMrkrHeliPos = getMarkerPos "supplyMrkrHeli"; _supplyMrkrHeliPos2 = [_supplyMrkrHeliPos select 0, _supplyMrkrHeliPos select 1, (_supplyMrkrHeliPos select 2)+50]; _supplyHeli = _supplyMrkrHeliPos2 nearestObject "UK3CB_BAF_Merlin_HC3_24"; _supplyMrkrLZPos = getMarkerPos "supplyMrkrLZ"; _supplyLZ = createVehicle ["Land_Laptop_device_F", getMarkerPos "supplyMrkrLZ", [], 0, "NONE"]; deleteMarker "supplyMrkrHeli"; deleteMarker "supplyMrkrLZ"; _supplyLZ hideObject true; waitUntil {( _supplyLZ distance _supplyHeli)<400}; _supplyHeli animateDoor ["CargoRamp_Open",1]; waitUntil {( _supplyLZ distance _supplyHeli)<200}; sleep 2; _supplyHeli allowDammage false; _supplyBoxFnc = "B_CargoNet_01_ammo_F"; _supplyBox = createVehicle [_supplyBoxFnc, position _supplyHeli, [], 0, "CAN_COLLIDE"]; clearBackpackCargoGlobal _supplyBox; clearWeaponCargoGlobal _supplyBox; clearMagazineCargoGlobal _supplyBox; clearItemCargoGlobal _supplyBox; _supplyBox addWeaponCargoGlobal ["UK3CB_BAF_L85A2", 2]; _supplyBox addWeaponCargoGlobal ["UK3CB_BAF_NLAW_Launcher", 2]; _supplyBox addWeaponCargoGlobal ["UK3CB_BAF_AT4_CS_AP_Launcher", 2]; _supplyBox addWeaponCargoGlobal ["rhs_weap_fgm148", 2]; _supplyBox addMagazineCargoGlobal ["UK3CB_BAF_762_100Rnd_T", 5]; _supplyBox addMagazineCargoGlobal ["UK3CB_BAF_762_L42A1_20Rnd", 5]; _supplyBox addMagazineCargoGlobal ["UK3CB_BAF_762_L42A1_20Rnd_T", 5]; _supplyBox addMagazineCargoGlobal ["UK3CB_BAF_127_100Rnd", 5]; _supplyBox addMagazineCargoGlobal ["UK3CB_BAF_556_30Rnd", 10]; _supplyBox addMagazineCargoGlobal ["UK3CB_BAF_556_30Rnd_T", 10]; _supplyBox addMagazineCargoGlobal ["13Rnd_mas_9x21_Mag", 4]; _supplyBox addMagazineCargoGlobal ["rhs_fgm148_magazine_AT", 4]; _supplyBox additemcargoGlobal ["ACE_fieldDressing", 30]; _supplyBox additemcargoGlobal ["Laserdesignator", 5]; _supplyBox additemcargoGlobal ["ACE_morphine", 30]; _supplyBox additemcargoGlobal ["ACE_bloodIV", 10]; _supplyBox additemcargoGlobal ["ACE_bloodIV_250", 10]; _supplyBox additemcargoGlobal ["ACE_CableTie", 10]; _supplyBox additemcargoGlobal ["ACE_epinephrine", 20]; _supplyBox additemcargoGlobal ["HandGrenade", 10]; _supplyBox additemcargoGlobal ["Laserbatteries", 5]; _supplyBox additemcargoGlobal ["SmokeShellRed", 10]; _supplyBox additemcargoGlobal ["ACE_EarPlugs", 5]; _supplyBox additemcargoGlobal ["SmokeShell", 10]; _supplyBox additemcargoGlobal ["SmokeShellRed", 10]; _supplyBox additemcargoGlobal ["SmokeShellBlue", 10]; _supplyBox additemcargoGlobal ["ACE_DefusalKit", 5]; _supplyBox additemcargoGlobal ["ACE_CableTie", 10]; _supplyBox additemcargoGlobal ["ACE_Clacker", 5]; _supplyBox additemcargoGlobal ["DemoCharge_Remote_Mag", 5]; _supplyBox additemcargoGlobal ["NVGoggles_mas_h", 5]; _supplyBox additemcargoGlobal ["optic_Hamr", 5]; _supplyBox additemcargoGlobal ["tf_anprc152_2", 5]; _supplyBox additemcargoGlobal ["optic_Hamr", 5]; _supplyBox additemcargoGlobal ["tf_microdagr", 5]; _supplyBox addbackpackcargoGlobal ["B_Carryall_cbr", 1]; _supplyBox addAction ["Arsenal", {["Open",true] spawn BIS_fnc_arsenal}]; _supplyBox disableCollisionWith _supplyHeli; _supplyHeli disableCollisionWith _supplyBox; _supplyBox allowDammage false; _supplyBox attachTo [_supplyHeli, [0, 0, 0], "CargoRamp"]; _supplyBox setDir ([_supplyBox, _supplyHeli] call BIS_fnc_dirTo); detach _supplyBox; //:::::::::::|Marker|::::::::::: _marker = createMarker ["SupplyMarker1", position _supplyLZ]; _marker setMarkerType "mil_objective"; "SupplyMarker1" setMarkerText "Supply Drop"; "SupplyMarker1" setMarkerColor "ColorKhaki"; //::::::::::::::::::::::::::::::: deleteVehicle _supplyLZ; _supplyChute = createVehicle ["B_parachute_02_F", position _supplyBox, [], 0, "FLY"]; _supplyBox attachTo [_supplyChute,[0,1,0]]; //_supplyChute hideObject true; _supplyChute setPos getPos _supplyBox; //:::::::::::|LIGHT|::::::::::: _supplyLight = "Chemlight_green" createVehicle (position _supplyBox); _supplyLight attachTo [_supplyBox, [0,0,0]]; _supplyFlare = "F_20mm_Red" createVehicle (position _supplyBox); _supplyFlare attachTo [_supplyBox, [0,0,0]]; //::::::::::::::::::::::::::::: sleep 1; hint "The supplies have been dropped and can be found in the marked zone within a 200m radius."; _supplyChute hideObject false; _supplyChute allowDammage false; //_supplyHeli allowDammage true; //_supplyBox allowDammage true; _supplyHeli animateDoor ["CargoRamp_Open",0]; //:::::::::::|SMOKE|::::::::::: _supplySmoke = "SmokeShellPurple" createVehicle (position _supplyBox); _supplySmoke attachTo [_supplyBox, [0,0,0]]; //::::::::::::::::::::::::::::: //:::::::::::|LIGHT II|::::::::::: sleep 10; _supplyLight = "Chemlight_green" createVehicle (position _supplyBox); _supplyLight attachTo [_supplyBox, [0,0,0]]; _supplyFlare = "F_20mm_Red" createVehicle (position _supplyBox); _supplyFlare attachTo [_supplyBox, [0,0,0]]; //::::::::::::::::::::::::::::: waitUntil {(getPos _supplyBox select 2)<2}; //detach _supplyBox; _supplyHeli allowDammage true; _supplyBox allowDammage true; _supplyChute setPos [ (getPos _supplyChute select 0)+0.75, getPos _supplyChute select 1, getPos _supplyChute select 2]; hint ""; sleep 5; {deleteVehicle _x;}forEach crew _supplyHeli;deleteVehicle _supplyHeli; //hint "end"; // Cleanup sleep 1500; deleteMarker "SupplyMarker1"; 2. Running scripts for respawned vehicles My vehicles (and crates) have customized inventories. Instead filling every single vehicles manually in the editor I run a script and I can change the amounts very easy: //Settings _weaponAmount = 2; _magAmount = 20; _itemAmount = 10; _atAmount = 5; _drugAmount = 40; _bandageAmount = 50; //_this allowDamage false; //Clear Box clearBackpackCargoGlobal _this; clearWeaponCargoGlobal _this; clearMagazineCargoGlobal _this; clearItemCargoGlobal _this; //_this addmagazinecargo ["SatchelCharge_Remote_Mag", _magAmount]; //_this addmagazinecargo ["SLAMDirectionalMine_Wire_Mag", _magAmount]; //_this addmagazinecargo ["SmokeShell", _magAmount]; _this addWeaponCargoGlobal ["UK3CB_BAF_L85A2", _weaponAmount]; _this addWeaponCargoGlobal ["UK3CB_BAF_NLAW_Launcher", _weaponAmount]; _this addWeaponCargoGlobal ["UK3CB_BAF_AT4_CS_AP_Launcher", _weaponAmount]; _this addWeaponCargoGlobal ["rhs_weap_fgm148", _weaponAmount]; _this addMagazineCargoGlobal ["UK3CB_BAF_762_100Rnd_T", _magAmount]; _this addMagazineCargoGlobal ["UK3CB_BAF_762_L42A1_20Rnd", _magAmount]; _this addMagazineCargoGlobal ["UK3CB_BAF_762_L42A1_20Rnd_T", _magAmount]; _this addMagazineCargoGlobal ["UK3CB_BAF_127_100Rnd", _magAmount]; _this addMagazineCargoGlobal ["UK3CB_BAF_556_30Rnd", _magAmount]; _this addMagazineCargoGlobal ["UK3CB_BAF_556_30Rnd_T", _magAmount]; _this addMagazineCargoGlobal ["13Rnd_mas_9x21_Mag", _magAmount]; _this addMagazineCargoGlobal ["rhs_fgm148_magazine_AT", _atAmount]; _this additemcargoGlobal ["ACE_fieldDressing", _bandageAmount]; _this additemcargoGlobal ["Laserdesignator", _itemAmount]; _this additemcargoGlobal ["ACE_morphine", _drugAmount]; _this additemcargoGlobal ["ACE_bloodIV", _drugAmount]; _this additemcargoGlobal ["ACE_bloodIV_250", _drugAmount]; _this additemcargoGlobal ["ACE_CableTie", _itemAmount]; _this additemcargoGlobal ["ACE_epinephrine", _drugAmount]; _this additemcargoGlobal ["HandGrenade", _itemAmount]; _this additemcargoGlobal ["Laserbatteries", _itemAmount]; _this additemcargoGlobal ["SmokeShellRed", _itemAmount]; _this additemcargoGlobal ["ACE_EarPlugs", _itemAmount]; _this additemcargoGlobal ["SmokeShell", _itemAmount]; _this additemcargoGlobal ["SmokeShellRed", _itemAmount]; _this additemcargoGlobal ["SmokeShellBlue", _itemAmount]; _this additemcargoGlobal ["1Rnd_SmokeGreen_Grenade_shell", _itemAmount]; _this additemcargoGlobal ["UK3CB_BAF_1Rnd_HE_Grenade_Shell", _itemAmount]; _this additemcargoGlobal ["1Rnd_SmokeGreen_Grenade_shell", _itemAmount]; _this additemcargoGlobal ["ACE_SpottingScope", _itemAmount]; _this additemcargoGlobal ["ACE_Tripod", _itemAmount]; _this additemcargoGlobal ["ACE_DefusalKit", _itemAmount]; _this additemcargoGlobal ["ACE_CableTie", _itemAmount]; _this additemcargoGlobal ["ACE_Clacker", _itemAmount]; _this additemcargoGlobal ["DemoCharge_Remote_Mag", _itemAmount]; _this additemcargoGlobal ["NVGoggles_mas_h", _itemAmount]; _this additemcargoGlobal ["optic_Hamr", _itemAmount]; _this additemcargoGlobal ["tf_anprc152_2", _itemAmount]; _this additemcargoGlobal ["tf_rt1523g_bwmod", _itemAmount]; _this additemcargoGlobal ["ItemAndroid", _itemAmount]; _this additemcargoGlobal ["tf_microdagr", _itemAmount]; _this additemcargoGlobal ["ToolKit", 1]; _this addbackpackcargoGlobal ["B_Carryall_cbr", _itemAmount]; Caller: null = this execVM "Z_Crate.sqf"; (in init field of every vehicle) Problem: works fine at the start of the mission. If destroyed the vehicles respawn via the Arma vehicle respawn module. But they are then empty / have standard items (=script does not fire after respawn). Bonus: Any ideas how to combine 2. into 1. (running the inventory script from 2 in the supply drop box instead filling it individually) I would really like to get this working, any ideas highly appreciated Thanks guys
×