ropes: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) m (Updated game name/version) |
Killzone Kid (talk | contribs) (some clarification) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Returns a vehicle | |Returns all ropes attached to a ropes owner vehicle in an [[Array]].|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|'''ropes''' | |'''ropes''' ropesOwner|= Syntax | ||
|p1 = | |p1 = ropesOwner: [[Object]] - a vehicle from which the ropes originate | ||
| [[Array]] |= Return value | | [[Array]] - array of the actual rope objects |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>[[hint]] [[str]] ('''ropes''' [[vehicle]] [[player]]);</code> |= Example1 | |x1 = <code>[[hint]] [[str]] ('''ropes''' [[vehicle]] [[player]]);</code> |= Example1 |
Revision as of 10:26, 25 August 2018
Description
- Description:
- Returns all ropes attached to a ropes owner vehicle in an Array.
- Groups:
- Uncategorised
Syntax
- Syntax:
- ropes ropesOwner
- Parameters:
- ropesOwner: Object - a vehicle 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
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".