ropeAttachTo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= |p3=" to "|Parameter2= |p3=") |
Lou Montana (talk | contribs) m (Text replacement - "|= |p2=" to "|Parameter1= |p2=") |
||
Line 12: | Line 12: | ||
|[entity, toPoint, ropeEndDownVector] [[ropeAttachTo]] rope |Syntax= | |[entity, toPoint, ropeEndDownVector] [[ropeAttachTo]] rope |Syntax= | ||
|p1= [entity, toPoint, ropeEndDownVector]: [[Array]] |= | |p1= [entity, toPoint, ropeEndDownVector]: [[Array]] |Parameter1= | ||
|p2= entity: [[Object]] - entity to be attached to the end of rope |Parameter2= | |p2= entity: [[Object]] - entity to be attached to the end of rope |Parameter2= | ||
Revision as of 04:08, 3 September 2019
Description
- Description:
- Attaches entity to the rope end with optional offset. For detach operation use ropeDetach.
- Groups:
- Uncategorised
Syntax
- Syntax:
- [entity, toPoint, ropeEndDownVector] ropeAttachTo rope
- Parameters:
- [entity, toPoint, ropeEndDownVector]: Array
- 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 (Optional): String or Array, either a memory point String or relative vector Array. If String is given, then ropeEndDownVector is calculated from toPoint towards ropeEndDownVector memory point. Default: [0,0,-1]
- 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:
- ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown
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