ropeAttachedTo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
|gr1= Ropes and Sling Loading | |gr1= Ropes and Sling Loading | ||
|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]].<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]] | [[Image:ropeAttachedTo.jpg|400px]] | ||
Line 13: | Line 13: | ||
|p1= cargo: [[Object]] - entity attached to the end of the first rope | |p1= cargo: [[Object]] - entity attached to the end of the first rope | ||
|r1= [[Object]] - a transport from which the | |r1= [[Object]] - a transport from which the first rope originates, the rope owner | ||
|x1= <code>_heli = [[ropeAttachedTo]] veh1;</code> | |x1= <code>_heli = [[ropeAttachedTo]] veh1;</code> | ||
|seealso= [[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]] | ||
}} | }} |
Revision as of 12:50, 15 March 2022
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.
- 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