ropeLength: 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=
____________________________________________________________________________________________


| Return rope length in meters (set by [[ropeCreate]], [[ropeCut]], [[ropeUnwind]]).
| Return rope length in meters (set by [[ropeCreate]], [[ropeCut]], [[ropeUnwind]]).
{{Informative|Returned rope length will remain the same, even if the rope is stretched.}} |Description=
{{Informative|Returned rope length will remain the same, even if the rope is stretched.}} |Description=
____________________________________________________________________________________________


| [[ropeLength]] rope |Syntax=
| [[ropeLength]] rope |Syntax=
Line 18: Line 15:


| [[Number]] |Return value=
| [[Number]] |Return value=
____________________________________________________________________________________________
|x1 = <code>_length = [[ropeLength]] ([[ropes]] heli1 [[select]] 0);</code> |Example1=
|x1 = <code>_length = [[ropeLength]] ([[ropes]] heli1 [[select]] 0);</code> |Example1=



Revision as of 03:20, 17 January 2021

Hover & click on the images for description

Description

Description:
Return rope length in meters (set by ropeCreate, ropeCut, ropeUnwind).
Returned rope length will remain the same, even if the rope is stretched.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropeLength rope
Parameters:
rope: Object
Return Value:
Number

Examples

Example 1:
_length = ropeLength (ropes heli1 select 0);

Additional Information

See also:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeCutropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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