ropes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma 3 |Game name=
|game1= arma3
|version1= 1.34


|1.34|Game version=
|gr1= Ropes and Sling Loading


____________________________________________________________________________________________
|descr= Returns all ropes attached to a ropes owner transport vehicle.


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


| [[ropes]] ropesOwner |Syntax=
|p1= ropesOwner: [[Object]] - a transport from which the ropes originate


|p1= ropesOwner: [[Object]] - a vehicle from which the ropes originate
|r1= [[Array]] of [[Object]]s - array of the actual rope objects


| [[Array]] - array of the actual rope objects |Return value=
|x1= <sqf>hint str (ropes vehicle player);</sqf>
____________________________________________________________________________________________


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


|x2= <code>_rope1 = ([[ropes]] heli1) [[select]] 0;</code> |Example2=
|seealso= [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
____________________________________________________________________________________________
 
| [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=
}}
}}


<h3 style="display:none">Notes</h3>
{{Note
<dl class="command_description">
|user= Waffle SS.
 
|timestamp= 20141013020500
<dd class="notedate">Posted on 05 April, 2014
|text= The [[ropes]] command seems to return each individual sling load rope.
<dt class="note">[[User:Waffle SS.|Waffle SS.]]
<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]] 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".
Ropes as of A3 1.33 have a cfgVehicles classname of "Rope".
 
}}
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Ropes and Sling Loading]]

Latest revision as of 22:30, 13 May 2023

Hover & click on the images for description

Description

Description:
Returns all ropes attached to a ropes owner transport vehicle.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropes ropesOwner
Parameters:
ropesOwner: Object - a transport from which the ropes originate
Return Value:
Array of Objects - array of the actual rope objects

Examples

Example 1:
Example 2:
_rope1 = (ropes heli1) select 0;

Additional Information

See also:
canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeLength ropeUnwound ropeAttachedTo ropeCreate ropeDetach ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind setSlingLoad slingLoadAssistantShown

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
Waffle SS. - c
Posted on Oct 13, 2014 - 02:05 (UTC)
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".