ropeEndPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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=
____________________________________________________________________________________________
____________________________________________________________________________________________


|Return rope end positions in [[Position3D]] format|= Description
| Return rope end positions in [[Position3D]] format. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


|'''ropeEndPosition''' rope|= Syntax
| [[ropeEndPosition]] rope |Syntax=
 
|p1 = rope: [[Object]]
|p1 = rope: [[Object]]
| [[Array]] - [endPos1,endPos2] |= Return value
 
| [[Array]] - [endPos1,endPos2] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>_ends = '''ropeEndPosition''' ([[ropes]] heli1 [[select]] 0);
|x1= <code>_ends = [[ropeEndPosition]] ([[ropes]] heli1 [[select]] 0);
_end1 = _ends [[select]] 0;
_end1 = _ends [[select]] 0;
_end2 = _ends [[select]] 1;</code> |= Example1
_end2 = _ends [[select]] 1;</code> |Example1=
 
| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |= See also


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


Line 29: Line 30:
<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 00:12, 30 March 2019

Hover & click on the images for description

Description

Description:
Return rope end positions in Position3D format.
Groups:
Uncategorised

Syntax

Syntax:
ropeEndPosition rope
Parameters:
rope: Object
Return Value:
Array - [endPos1,endPos2]

Examples

Example 1:
_ends = ropeEndPosition (ropes heli1 select 0); _end1 = _ends select 0; _end2 = _ends select 1;

Additional Information

See also:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeUnwindsetSlingLoadslingLoadAssistantShown

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