ropes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{RV\|type=command \| arma3 \| *([0-9]\.[0-9]{2}) * \| *gr1 *=(.*) \|(.*) \|(.*) \| *p1 *=(.*) \|(.*) \| *x1 *=(.*) \| *x2 *=(.*) \|seealso=(.*) \}\} " to "{{RV|type=command |game1= arma3 |version1= $1 |gr1=$2 |descr=...) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.34 | |||
|1.34 | |||
|gr1= Ropes and Sling Loading | |gr1= Ropes and Sling Loading | ||
|Returns all ropes attached to a ropes owner transport in an [[Array]], otherwise an empty array <tt>[]</tt> is returned. | |descr=Returns all ropes attached to a ropes owner transport in an [[Array]], otherwise an empty array <tt>[]</tt> is returned. | ||
| [[ropes]] ropesOwner | |s1= [[ropes]] ropesOwner | ||
|p1= ropesOwner: [[Object]] - a transport from which the ropes originate | |p1= ropesOwner: [[Object]] - a transport from which the ropes originate | ||
| [[Array]] - array of the actual rope objects | |r1= [[Array]] - array of the actual rope objects | ||
|x1= <code>[[hint]] [[str]] ([[ropes]] [[vehicle]] [[player]]);</code> | |x1= <code>[[hint]] [[str]] ([[ropes]] [[vehicle]] [[player]]);</code> |
Revision as of 17:42, 9 June 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".