Arma 3 Scripting

Command in Ropes and Sling Loading

ropeEndPosition

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns start and end positions for the given rope. If command fails, empty array [] is returned.

Syntax

ropeEndPosition rope

Parameters:

Returns: Array with [startPos, endPos]

Examples

Example 1

_ends = ropeEndPosition (ropes heli1 select 0);
_start = _ends select 0;
_end = _ends select 1;

See also

ropes · canSlingLoad · enableRopeAttach · getSlingLoad · ropeAttachedObjects · ropeAttachTo · ropeDestroy · ropeLength · ropeUnwound · ropeAttachedTo · ropeCreate · ropeDetach · ropeAttachEnabled · ropeCut · ropeUnwind · setSlingLoad · slingLoadAssistantShown