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 - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:
|gr1= Ropes and Sling Loading |GROUP1=
|gr1= Ropes and Sling Loading |GROUP1=


____________________________________________________________________________________________


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


| [[ropeAttachedObjects]] ropesOwner |Syntax=
| [[ropeAttachedObjects]] ropesOwner |Syntax=
Line 19: Line 16:


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



Revision as of 03:14, 17 January 2021

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:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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

Bottom Section