Description
Returns the owner of the first rope - the transport to which other entities are attached with ropes. This command is the opposite of ropeAttachedObjects. To return all owners see ropesAttachedTo.
Syntax
ropeAttachedTo cargo
Parameters:
cargo: Object - entity attached to the end of the first rope
Returns: Object - a transport from which the first rope originates, the rope owner
Examples
Example 1
_heli = ropeAttachedTo veh1;
See also
ropesAttachedTo · ropes · canSlingLoad · enableRopeAttach · getSlingLoad · ropeAttachedObjects · ropeAttachTo · ropeDestroy · ropeLength · ropeUnwound · ropeCreate · ropeDetach · ropeAttachEnabled · ropeCut · ropeEndPosition · ropeUnwind · setSlingLoad · slingLoadAssistantShown