ropeAttachedTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "[[Image:" to "[[File:")
 
Line 7: Line 7:


|descr=Returns the owner of the first rope - the transport to which other entities are attached with [[ropes]]. This command is the opposite of [[ropeAttachedObjects]]. To return all owners see [[ropesAttachedTo]].<br><br>
|descr=Returns the owner of the first rope - the transport to which other entities are attached with [[ropes]]. This command is the opposite of [[ropeAttachedObjects]]. To return all owners see [[ropesAttachedTo]].<br><br>
[[Image:ropeAttachedTo.jpg|400px]]
[[File:ropeAttachedTo.jpg|400px]]


|s1= [[ropeAttachedTo]] cargo
|s1= [[ropeAttachedTo]] cargo

Latest revision as of 00:12, 21 November 2023

Hover & click on the images for description

Description

Description:
Returns the owner of the first rope - the transport to which other entities are attached with ropes. This command is the opposite of ropeAttachedObjects. To return all owners see ropesAttachedTo.

ropeAttachedTo.jpg
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropeAttachedTo cargo
Parameters:
cargo: Object - entity attached to the end of the first rope
Return Value:
Object - a transport from which the first rope originates, the rope owner

Examples

Example 1:
_heli = ropeAttachedTo veh1;

Additional Information

See also:
ropesAttachedTo ropes canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeLength ropeUnwound 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