ropes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 18: | Line 18: | ||
|x2= <code>_rope1 = ([[ropes]] heli1) [[select]] 0;</code> | |x2= <code>_rope1 = ([[ropes]] heli1) [[select]] 0;</code> | ||
|seealso= [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] | |seealso= [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] | ||
}} | }} | ||
Revision as of 18:12, 20 January 2022
Description
- Description:
- Returns all ropes attached to a ropes owner transport in an Array, otherwise an empty array [] is returned.
- Groups:
- Ropes and Sling Loading
Syntax
- Syntax:
- ropes ropesOwner
- Parameters:
- ropesOwner: Object - a transport from which the ropes originate
- Return Value:
- Array - array of the actual rope objects
Examples
Additional Information
- See also:
- canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeLength ropeUnwound ropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown
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
- 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".