ropeAttachedTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - "[[Image:" to "[[File:")
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.34
|1.34


|gr1= Ropes and Sling Loading
|gr1= Ropes and Sling Loading


|Returns the ropes owner, the transport to which other entities are attached with [[ropes]]. This command is the opposite of [[ropeAttachedObjects]].<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]]


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


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


| [[Object]] - a transport from which the ropes originate, the ropes owner
|r1= [[Object]] - a transport from which the first rope originates, the rope owner


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


| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]]
|seealso= [[ropesAttachedTo]] [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
{{GameCategory|arma3|Scripting Commands}}

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