ropeAttachedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "[[Image:" to "[[File:")
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


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


|gr1= Ropes and Sling Loading |GROUP1=
|descr=Returns an array of all entities that are attached to the transport with [[ropes]]. This command is the opposite of [[ropeAttachedTo]].<br><br>
[[File:ropeAttachedObjects.jpg|400px]]


____________________________________________________________________________________________
|s1= [[ropeAttachedObjects]] ropesOwner


|Returns an array of all entities that are attached to the transport with [[ropes]]. This command is the opposite of [[ropeAttachedTo]].<br><br>
|p1= ropesOwner: [[Object]] - transport from which a single or multiple ropes are originating
[[Image:ropeAttachedObjects.jpg|400px]] |Description=
____________________________________________________________________________________________


| [[ropeAttachedObjects]] ropesOwner |Syntax=
|r1= [[Array]] - array of attached entities on ropes
 
|p1= ropesOwner: [[Object]] - transport from which a single or multiple ropes are originating


| [[Array]] - array of attached entities on ropes |Return value=
|x1= <sqf>_cargoArray = ropeAttachedObjects heli1;</sqf>
____________________________________________________________________________________________
|x1 = <code>_cargoArray = [[ropeAttachedObjects]] heli1;</code> |Example1=


| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=
|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 23:09, 20 November 2023

Hover & click on the images for description

Description

Description:
Returns an array of all entities that are attached to the transport with ropes. This command is the opposite of ropeAttachedTo.

ropeAttachedObjects.jpg
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropeAttachedObjects ropesOwner
Parameters:
ropesOwner: Object - transport from which a single or multiple ropes are originating
Return Value:
Array - array of attached entities on ropes

Examples

Example 1:
_cargoArray = ropeAttachedObjects heli1;

Additional Information

See also:
ropes canSlingLoad enableRopeAttach getSlingLoad 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