ropes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added command references in examples)
(Updated "See also", return value)
Line 13: Line 13:
|'''ropes''' vehicle|= Syntax
|'''ropes''' vehicle|= Syntax
|p1 = vehicle: [[Object]]
|p1 = vehicle: [[Object]]
| [[Array]] of rope objects|= Return value
| [[Array]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>[[hint]] [[str]] ('''ropes''' [[vehicle]] [[player]]);</code> |= Example1
|x1 = <code>[[hint]] [[str]] ('''ropes''' [[vehicle]] [[player]]);</code> |= Example1
Line 20: Line 20:




| [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]] |= See also
| [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |= See also


}}
}}

Revision as of 03:26, 13 October 2014

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