ropeAttachTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> </dl>" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 24: Line 24:
|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>


| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]]
|seealso= [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]]
}}
}}


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 01:02, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Ropes and Sling Loading

Syntax

Syntax:
Syntax needed
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:
Return value needed

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