ropeAttachTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Updated game name/version)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma 3 |= Game name
| arma 3 |Game name=


|1.34|= Game version
|1.34|Game version=
____________________________________________________________________________________________


| Attach vehicle to rope with optional offset. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


|Attach vehicle to rope with optional offset|= Description
|[veh, toPoint, ropeEndDownDir] [[ropeAttachTo]] rope |Syntax=
____________________________________________________________________________________________
 
|p1= veh: [[Object]]
 
|p2= toPoint: [[Array]] - [x,y,z] offset relative to ''veh'' model center
 
|p3= ropeEndDownDir: [[Array]]
 
|p4= rope: [[Object]]


|[veh, toPoint, ropeEndDownDir] '''ropeAttachTo''' rope|= Syntax
| [[Nothing]] |Return value=
|p1 = veh: [[Object]]
|p2 = toPoint: [[Array]] - [x,y,z] offset relative to '''veh''' model center
|p3 = ropeEndDownDir: [[Array]]
|p4 = rope: [[Object]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>[veh1,[0,0,0],[0,0,-1]] '''ropeAttachTo''' ([[ropes]] heli1 [[select]] 0);</code> |= Example1


| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |= See also
|x1 = <code>[veh1, [0,0,0], [0,0,-1]] [[ropeAttachTo]] ([[ropes]] heli1 [[select]] 0);</code> |Example1=


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


Line 31: Line 35:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Ropes and Sling Loading]]

Revision as of 23:43, 29 March 2019

Hover & click on the images for description

Description

Description:
Attach vehicle to rope with optional offset.
Groups:
Uncategorised

Syntax

Syntax:
[veh, toPoint, ropeEndDownDir] ropeAttachTo rope
Parameters:
veh: Object
toPoint: Array - [x,y,z] offset relative to veh model center
ropeEndDownDir: Array
rope: Object
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

Notes

Bottom Section