ropeAttachTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 22: | Line 22: | ||
|x1= <code>[veh1, [0,0,0], [0,0,-1]] [[ropeAttachTo]] ([[ropes]] heli1 [[select]] 0);</code> | |x1= <code>[veh1, [0,0,0], [0,0,-1]] [[ropeAttachTo]] ([[ropes]] heli1 [[select]] 0);</code> | ||
|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] | |seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]], [[slingLoadAssistantShown]] | ||
}} | }} |
Revision as of 20:55, 20 January 2022
Description
- Description:
- Attaches entity to the rope end with optional offset. For detach operation use ropeDetach.
- Groups:
- Ropes and Sling Loading
Syntax
- Syntax:
- [entity, toPoint, ropeEndDownVector] ropeAttachTo rope
- Parameters:
- entity: Object - entity to be attached to the end of rope
- toPoint (Optional): String or Array - position for the rope end, either a memory point String or relative offset Array
- ropeEndDownVector: String or Array - (Optional, default [0,0,-1]) either a memory point String or relative vector Array. If String is given, then ropeEndDownVector is calculated from toPoint towards ropeEndDownVector memory point
- rope: Object - the rope to which entity will be attached to
- Return Value:
- Nothing
Examples
- Example 1:
[veh1, [0,0,0], [0,0,-1]] ropeAttachTo (ropes heli1 select 0);
Additional Information
- See also:
- ropes canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeDestroy ropeLength ropeUnwound ropeAttachedTo ropeCreate ropeDetach ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind setSlingLoadslingLoadAssistantShown
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