ropes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}") |
||
Line 6: | Line 6: | ||
|gr1= Ropes and Sling Loading | |gr1= Ropes and Sling Loading | ||
|descr=Returns all ropes attached to a ropes owner transport in an [[Array]], otherwise an empty array | |descr=Returns all ropes attached to a ropes owner transport in an [[Array]], otherwise an empty array {{hl|[]}} is returned. | ||
|s1= [[ropes]] ropesOwner | |s1= [[ropes]] ropesOwner |
Revision as of 00:18, 16 November 2021
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:
- 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
- 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".