ropeAttachedTo: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) (Added ropeAttachedTo command based on ingame documentation and experimentation) |
Lou Montana (talk | contribs) m (Text replacement - "[[Image:" to "[[File:") |
||
(46 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |game1= arma3 | ||
|version1= 1.34 | |||
| | |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]]. To return all owners see [[ropesAttachedTo]].<br><br> | |||
[[File:ropeAttachedTo.jpg|400px]] | |||
| | |s1= [[ropeAttachedTo]] cargo | ||
|p1= cargo: [[Object]] - entity attached to the end of the first rope | |||
|p1 = | |||
| [[ | |r1= [[Object]] - a transport from which the first rope originates, the rope owner | ||
|x1= <sqf>_heli = ropeAttachedTo veh1;</sqf> | |||
|seealso= [[ropesAttachedTo]] [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]] | |||
}} | }} | ||
Latest revision as of 23:12, 20 November 2023
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:
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