ropes

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns all ropes attached to a ropes owner transport vehicle.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropes ropesOwner
Parameters:
ropesOwner: Object - a transport from which the ropes originate
Return Value:
Array of Objects - array of the actual rope objects

Examples

Example 1:
Example 2:
_rope1 = (ropes heli1) select 0;

Additional Information

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

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Waffle SS. - c
Posted on Oct 13, 2014 - 02:05 (UTC)
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".