Search the Community
Showing results for tags 'check for attached slingload'.
Found 1 result
Theo1143 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGSo long story short I'm setting up a mission whereby the player has to drop off some objects at a location. Now the problem i'm running into is that whenever the object gets dropped off by the player it could very easily be picked up and the object would still be complete. I also don't wanna set up to many conditions since it is just such a small thing... So therefore did I came up with a solution to remove the object being lift-able together with disabling the simulation. (while having the trigger low enough so it requires you to put it on the ground and on a 3sec timout) (vehicle player) enableRopeAttach false; Which works perfectly but it will still looks ugly when you fly away so I wanna detach the box also on this way. Only thing that I did find was this which does the opposite of what I need it to do:... _success = heli1 setSlingLoad veh1; Is there a way of detaching the slingload ropes from the heli while the player is flying it with a code? And is there a way of checking if a sudden object is attached to the heli with a trigger condition preferably? Edit: Solved If object cargo1 is being attached to the slingload of heli1 shoot trigger: cargo1 == getSlingLoad heli1 Attach sling-load ropes from heli1 to object cargo1: _success = heli1 setSlingLoad cargo1; Detach ALL sling-load ropes from the vehicle heli1: _success = heli1 setSlingLoad objNull;