ropeUnwind: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
<dt class="note">[[User:Tajin|Tajin]]</dt>
<dt class="note">[[User:Tajin|Tajin]]</dt>
<dd class="note">
<dd class="note">
Unwinding speed is not linear but instead automatically accelerates at the beginning and slows down at the end.
Unwinding speed is not linear but instead automatically accelerates at the beginning and slows down at the end.<br>
The speed also only seems to have no effect when pulling the rope in.<br>
Unwinding speeds over ~250 can cause your cargo to get stuck in midair.
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 16:36, 8 November 2014

Hover & click on the images for description

Description

Description:
Unwind rope to target length. Use relative parameter for changing rope length +/- from current length
Groups:
Uncategorised

Syntax

Syntax:
ropeUnwind [rope, speed, targetLength, relative]
Parameters:
rope: Object
speed: Number
targetLength: Number
relative: (optional) Boolean
Return Value:
Nothing

Examples

Example 1:
ropeUnwind [ ropes heli1 select 0, 3, 10];//set rope length to 10m at 3m/s
Example 2:
ropeUnwind [ ropes heli1 select 0, 3, -5, true];//decrease rope length by 5m at 3m/s

Additional Information

See also:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionsetSlingLoadslingLoadAssistantShown

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on November 8, 2014 - 15:28 (UTC)
Tajin
Unwinding speed is not linear but instead automatically accelerates at the beginning and slows down at the end.
The speed also only seems to have no effect when pulling the rope in.
Unwinding speeds over ~250 can cause your cargo to get stuck in midair.