ropeAttachedTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m (Text replacement - "[[Image:" to "[[File:")
 
(35 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


|gr1= Ropes and Sling Loading |GROUP1=
|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>
____________________________________________________________________________________________
[[File:ropeAttachedTo.jpg|400px]]


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


| [[ropeAttachedTo]] cargo |Syntax=
|p1= cargo: [[Object]] - entity attached to the end of the first rope


|p1= cargo: [[Object]] - entity attached to the end of a rope
|r1= [[Object]] - a transport from which the first rope originates, the rope owner


| [[Object]] - a transport from which the ropes originate, the ropes owner |Return value=
|x1= <sqf>_heli = ropeAttachedTo veh1;</sqf>
____________________________________________________________________________________________


|x1= <code>_heli = [[ropeAttachedTo]] veh1;</code> |Example1=
|seealso= [[ropesAttachedTo]] [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
 
| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=
}}
}}
<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: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