ropeEndPosition: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) (Updated game name/version) |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma 3 | | | arma 3 |Game name= | ||
| 1.34 |Game version= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Return rope end positions in [[Position3D]] format|= | | Return rope end positions in [[Position3D]] format. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[ropeEndPosition]] rope |Syntax= | ||
|p1 = rope: [[Object]] | |p1 = rope: [[Object]] | ||
| [[Array]] - [endPos1,endPos2] | | |||
| [[Array]] - [endPos1,endPos2] |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>_ends = | |x1= <code>_ends = [[ropeEndPosition]] ([[ropes]] heli1 [[select]] 0); | ||
_end1 = _ends [[select]] 0; | _end1 = _ends [[select]] 0; | ||
_end2 = _ends [[select]] 1;</code> | | _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= | |||
}} | }} | ||
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
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