Description
Returns true if setSlingLoad is possible.
Syntax
Syntax 1
heli canSlingLoad cargo
Parameters:
Returns: Boolean - true if setSlingLoad is possible
Syntax 2
since arma3 2.12
typeOfHeli canSlingLoad typeOfCargo
Parameters:
typeOfHeli: String - a config type of helicoptertypeOfCargo: String - a config type of cargo (the object of type cargo has to exist in the mission)
Returns: Boolean - true if can be sling loaded in principle
Examples
Example 1
_canSling = veh1 canSlingLoad veh2;
Example 2
hint str ((vehicle player) canSlingLoad veh1);
See also
ropes · enableRopeAttach · getSlingLoad · ropeAttachedObjects · ropeAttachTo · ropeDestroy · ropeLength · ropeUnwound · ropeAttachedTo · ropeCreate · ropeDetach · ropeAttachEnabled · ropeCut · ropeEndPosition · ropeUnwind · setSlingLoad · slingLoadAssistantShown