ropeAttachedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(linked to ropes command)
m (Text replacement - "[[Image:" to "[[File:")
 
(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 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]]


|Returns an array of all objects that are attached to a vehicle with [[ropes]]. This command is the opposite of [[ropeAttachedTo]].<br><br>
|s1= [[ropeAttachedObjects]] ropesOwner
[[Image:ropeAttachedObjects.jpg|400px]]|= Description
____________________________________________________________________________________________


|'''ropeAttachedObjects''' ropesOwner|= Syntax
|p1= ropesOwner: [[Object]] - transport from which a single or multiple ropes are originating
|p1 = ropesOwner: [[Object]] - object from which a single or multiple ropes are originating
| [[Array]] - array of attached objects on ropes |= Return value
____________________________________________________________________________________________
|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
|r1= [[Array]] - array of attached entities on ropes


|x1= <sqf>_cargoArray = ropeAttachedObjects heli1;</sqf>
|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>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:09, 21 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