ropes

From Bohemia Interactive Community
Revision as of 03:26, 13 October 2014 by Waffle SS. (talk | contribs) (Updated "See also", return value)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns a vehicle's rope objects in an Array.
Groups:
Uncategorised

Syntax

Syntax:
ropes vehicle
Parameters:
vehicle: Object
Return Value:
Array

Examples

Example 1:
hint str (ropes vehicle player);
Example 2:
_rope1 = (ropes heli1) select 0;

Additional Information

See also:
canSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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

Notes

Posted on 05 April, 2014
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".

Bottom Section