ropeLength: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.34|Game version=
|1.34


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


| 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.}}


| [[ropeLength]] rope |Syntax=
| [[ropeLength]] rope


|p1 = rope: [[Object]]
|p1 = rope: [[Object]]


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


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



Revision as of 11:04, 18 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