Tankbuster 1733 Posted May 6, 2023 Hi all, I'm creating a weaponholder and putting a "Item_SecretFiles" in it via addmagazinecargoglobal so players can pick it up. But the weaponholder falls just under ground level. The 'take File (top secret) action still appears, but players can't see the object. I've tried setposing it above ground and creating it, but it falls under ground straight away. How can I make it stay on the gound? //serverside nseinvobj = "WeaponHolderSimulated_Scripted" createVehicle [0,0,1000]; nseinvobj addMagazineCargoGlobal [retrobjgamename,1]; _np = newsearchobj nearEntities ["SoldierWB", 10]; _nps = [_np, [], {_x distance2D newsearchobj}] call BIS_fnc_sortBy; nseinvobj setpos getpos (_nps #0); Share this post Link to post Share on other sites
pierremgi 4741 Posted May 6, 2023 hmm, should work, but if not, try to add a little height: nseinvobj setpos (getpos (_nps #0) vectorAdd [0,0,0.1]); Share this post Link to post Share on other sites
Tankbuster 1733 Posted May 6, 2023 It's seen to move to the new height, but immediately falls underground Share this post Link to post Share on other sites
pierremgi 4741 Posted May 6, 2023 Map problem, probably. Replace "WeaponHolderSimulated_Scripted" by "GroundWeaponHolder_Scripted" , so the fall simulation is disabled. 1 Share this post Link to post Share on other sites
Tankbuster 1733 Posted May 8, 2023 That's working Pierre, thank you. Still have to move it up a lift to show, but it doesn't fall any more. Thanks again! Share this post Link to post Share on other sites