ropeUnwound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Ropes and Sling Loading |GROUP1=
|gr1= Ropes and Sling Loading |GROUP1=
____________________________________________________________________________________________


| Returns [[false]] if rope length changing animation is in progress. Returns [[true]] if animation is done. |Description=
| Returns [[false]] if rope length changing animation is in progress. Returns [[true]] if animation is done. |Description=
____________________________________________________________________________________________


| [[ropeUnwound]] rope |Syntax=
| [[ropeUnwound]] rope |Syntax=
Line 17: Line 14:


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

Revision as of 02:20, 17 January 2021

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:
Ropes and Sling Loading

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