ropes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(some clarification)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma 3 |= Game name
| arma 3 |Game name=


|1.34|= Game version
|1.34|Game version=


____________________________________________________________________________________________
____________________________________________________________________________________________


|Returns all ropes attached to a ropes owner vehicle in an [[Array]].|= Description
|Returns all ropes attached to a ropes owner vehicle in an [[Array]].|Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


|'''ropes''' ropesOwner|= Syntax
| [[ropes]] ropesOwner |Syntax=
|p1 = ropesOwner: [[Object]] - a vehicle from which the ropes originate
 
| [[Array]] - array of the actual rope objects |= Return value
|p1= ropesOwner: [[Object]] - a vehicle from which the ropes originate
 
| [[Array]] - array of the actual rope objects |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>[[hint]] [[str]] ('''ropes''' [[vehicle]] [[player]]);</code> |= Example1


|x2 = <code>_rope1 = ('''ropes''' heli1) [[select]] 0;</code> |= Example1
|x1= <code>[[hint]] [[str]] ([[ropes]] [[vehicle]] [[player]]);</code> |Example1=


|x2= <code>_rope1 = ([[ropes]] heli1) [[select]] 0;</code> |Example2=
____________________________________________________________________________________________


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


Line 28: Line 30:


<dd class="notedate">Posted on 05 April, 2014
<dd class="notedate">Posted on 05 April, 2014
<dt class="note">'''[[User:Waffle SS.|Waffle SS.]]'''<dd class="note"><br>
<dt class="note">[[User:Waffle SS.|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".<br>
<dd class="note">
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".


</dl>
</dl>
Line 35: Line 40:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Ropes and Sling Loading]]

Revision as of 23:35, 29 March 2019

Hover & click on the images for description

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

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