Search the Community
Showing results for tags 'parajump'.
Found 2 results
-
HI I found this script for parajump: openMap true; onMapSingleClick { onMapSingleClick {}; player setpos _pos; _height = 1000; [player,_height] spawn BIS_fnc_halo; hint ''; openMap false; true }; This lets Player to Jump anywhere on the map, but: 1. Doesnt add Parachute 2.Doesnt alow to carry parachute and backack I changed it to this: openMap true; onMapSingleClick { onMapSingleClick {}; player setpos _pos; _height = 1000; [player,_height] spawn BIS_fnc_halo; player addBackpack "B_Parachute"; hint ''; openMap false; true }; Wich solved the first problem, but iam kinda stuck with the second. I tried attachto, but apparently thats not the correct way or iam not understanding how to use it. ANyone tried something simmilar?
- 19 replies
-
Access backpack in groundWeaponHolder
beno_83au posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I've spawned a backpack into a groundWeaponHolder and would like to be able to edit it's inventory but I haven't been able to figure this out yet. Either that, or after creating/editing a pack can I move it into the holder instead? I haven't been able to come up with anything that'll work, and I've been through a number of options. The unit starts in an aircraft and jumps out doing the whole "add a parachute, save the original backpack for later" thing. But, rather than just throw a pack straight onto the unit's back when they land I want to have them move to the pack and pick it up off the ground. This happens by attaching the above groundWeaponHolder onto the unit, then having it dangle below them prior to landing (anyone who's ever seen/done a combat equipment jump will know what I mean). The pack hits the ground, then the unit lands nearby and moves over to get their pack. I just can't manage to add/remove anything from the pack I create in the weapon holder, nor can I move a pack from a temporary unit into the weapon holder. The whole thing is still a WIP so it's a bit messy, but it's working mostly. Concerning the pack, to create it I'm currently using: _pack = backpack _unit; _packHolder = createVehicle ["groundWeaponHolder", [0,0,0], [], 0, "can_collide"]; _packHolder addBackpackCargoGlobal [_pack, 1]; I have been able to reference the pack using (for example) firstBackpack or everyBackpack but I can't get the result to mesh into something that I can use to edit the pack's inventory. Any advice?- 6 replies
-
- 1
-
- backpack
- groundweaponholder
-
(and 1 more)
Tagged with: