Arma 3 Scripting

Command in Ropes and Sling Loading

ropes

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns all ropes attached to a ropes owner transport vehicle.

Syntax

ropes ropesOwner

Parameters:

Returns: Array of Objects - array of the actual rope objects

Examples

Example 1

hint str (ropes vehicle player);

Example 2

_rope1 = (ropes heli1) select 0;

See also

canSlingLoad · enableRopeAttach · getSlingLoad · ropeAttachedObjects · ropeAttachTo · ropeDestroy · ropeLength · ropeUnwound · ropeAttachedTo · ropeCreate · ropeDetach · ropeAttachEnabled · ropeCut · ropeEndPosition · ropeUnwind · setSlingLoad · slingLoadAssistantShown

Community notes

Waffle SS.

The ropes command seems to return each individual sling load rope. ropes will return an empty Array if the sling load ropes are not deployed. Ropes as of A3 1.33 have a cfgVehicles classname of "Rope".