ropeAttachedTo: 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 7: Line 6:


|gr1= Ropes and Sling Loading |GROUP1=
|gr1= Ropes and Sling Loading |GROUP1=
____________________________________________________________________________________________


|Returns the ropes owner, the transport to which other entities are attached with [[ropes]]. This command is the opposite of [[ropeAttachedObjects]].<br><br>
|Returns the ropes owner, the transport to which other entities are attached with [[ropes]]. This command is the opposite of [[ropeAttachedObjects]].<br><br>
[[Image:ropeAttachedTo.jpg|400px]]|Description=
[[Image:ropeAttachedTo.jpg|400px]]|Description=
____________________________________________________________________________________________


| [[ropeAttachedTo]] cargo |Syntax=
| [[ropeAttachedTo]] cargo |Syntax=
Line 18: Line 15:


| [[Object]] - a transport from which the ropes originate, the ropes owner |Return value=
| [[Object]] - a transport from which the ropes originate, the ropes owner |Return value=
____________________________________________________________________________________________


|x1= <code>_heli = [[ropeAttachedTo]] veh1;</code> |Example1=
|x1= <code>_heli = [[ropeAttachedTo]] veh1;</code> |Example1=

Revision as of 03:17, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns the ropes owner, the transport to which other entities are attached with ropes. This command is the opposite of ropeAttachedObjects.

ropeAttachedTo.jpg
Groups:
Ropes and Sling Loading

Syntax

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

Examples

Example 1:
_heli = ropeAttachedTo veh1;

Additional Information

See also:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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