Arma 3 Scripting

ropesAttachedTo

  • Arma 3 v2.10

Command · Markdown · JSON · original wiki page

Description

Returns the owners of all ropes attached to the cargo - the transports to which other entities are attached with ropes.

Syntax

ropesAttachedTo cargo

Parameters:

Returns: Array of Objects which are transports from which the ropes originate, the ropes owners

Examples

Example 1

r1 = ropeCreate [car1, [0,0,0], car3, [0,0,0], 10];
r2 = ropeCreate [car2, [0,0,0], car3, [0,0,0], 10];
ropesAttachedTo car3; // [car1,car2]

See also

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