ropeAttachedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 15: Line 15:
|r1= [[Array]] - array of attached entities on ropes
|r1= [[Array]] - array of attached entities on ropes


|x1= <code>_cargoArray = [[ropeAttachedObjects]] heli1;</code>
|x1= <code>_cargoArray = ropeAttachedObjects heli1;</code>


|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
}}
}}

Revision as of 11:13, 12 May 2022

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