ropeUnwound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Get the unwinding status. Returns [[false]] if unwinding is in progress, otherwise [[true]]. |Description=
| Returns [[false]] if rope length changing animation is in progress. Returns [[true]] if animation is done. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ropeUnwound]] rope |Syntax=
| [[ropeUnwound]] rope |Syntax=


|p1 = rope: [[Object]]
|p1 = rope: [[Object]] - given rope object


| [[Boolean]] |Return value=
| [[Boolean]] - [[true]] if unwinding is complete |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>_isUnwound = [[ropeUnwound]] ([[ropes]] heli1 [[select]] 0);</code> |Example1=
|x1 = <code>[[waitUntil]] { [[ropeUnwound]] ([[ropes]] heli1 [[select]] 0) };
[[hint]] "Unwinding Complete";</code> |Example1=


| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=
| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=

Revision as of 20:27, 1 September 2019

Hover & click on the images for description

Description

Description:
Returns false if rope length changing animation is in progress. Returns true if animation is done.
Groups:
Uncategorised

Syntax

Syntax:
ropeUnwound rope
Parameters:
rope: Object - given rope object
Return Value:
Boolean - true if unwinding is complete

Examples

Example 1:
waitUntil { ropeUnwound (ropes heli1 select 0) }; hint "Unwinding Complete";

Additional Information

See also:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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