Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.10

Description

Description: Instantly unwinds the winch and positions the end segment to the given location.
Any createJointExt - SphereJoint that might be attached to the end segment will be destroyed (so this command should not be used if something is attached to the rope via a joint).

Syntax

Syntax: winchUnwindTo [winch,position ASL]
Parameters:
  • winch: Object - Winch object.
  • winch: position - Position above sea level to move the winch end segment.
Return Value: Nothing

Examples

Examples:
 winchUnwindTo [winches (truck select 0),convertToASL (truck modelToWorld [0,-15,0])]; 

Additional Information

See also: winchUnwind
Multiplayer: 
Problems: 

Notes