Arma 3 Scripting

ropeEndPosition

  • Arma 3 v1.34

Command · Markdown · JSON · 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