ropeAttachTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|p1= entity: [[Object]] - entity to be attached to the end of rope | |p1= entity: [[Object]] - entity to be attached to the end of rope | ||
|p2= toPoint | |p2= toPoint: [[String]] or [[Array]] - (Optional) position for the rope end, either a memory point [[String]] or relative offset [[Array]] | ||
|p3= ropeEndDownVector: [[String]] or [[Array]] - | |p3= ropeEndDownVector: [[String]] or [[Array]] - (Optional, default [0,0,-1]) either a memory point [[String]] or relative vector [[Array]]. If [[String]] is given, then {{hl|ropeEndDownVector}} is calculated from {{hl|toPoint}} towards {{hl|ropeEndDownVector}} memory point | ||
|p4= rope: [[Object]] - the rope to which entity will be attached to | |p4= rope: [[Object]] - the rope to which entity will be attached to | ||
Line 20: | Line 20: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
| | |s2= entity [[ropeAttachTo]] rope | ||
|s2since= arma3 2.10 | |||
|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] | |p21= entity: [[Object]] - entity to be attached to the end of rope | ||
|p22= rope: [[Object]] - the rope to which entity will be attached to | |||
|r2= [[Nothing]] | |||
|x1= <sqf>[veh1, [0,0,0], [0,0,-1]] ropeAttachTo (ropes heli1 select 0);</sqf> | |||
|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]] | |||
}} | }} |
Latest revision as of 02:24, 1 August 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: String or Array - (Optional) 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
Alternative Syntax
- Syntax:
- entity ropeAttachTo rope
- Parameters:
- entity: Object - entity to be attached to the end of rope
- rope: Object - the rope to which entity will be attached to
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- ropes canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeDestroy ropeLength ropeUnwound ropeAttachedTo 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