Arma 3 Scripting

canSlingLoad

  • Arma 3 v1.34

Command · Markdown · JSON · original wiki page

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:

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