ropeLength: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma 3 |Game name=
|game1= arma3
|version1= 1.34


|1.34|Game version=
|gr1= Ropes and Sling Loading
____________________________________________________________________________________________


| Return rope length in meters (set by [[ropeCreate]], [[ropeCut]], [[ropeUnwind]]).
|descr= 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=
{{Feature|informative|Returned rope length will remain the same, even if the rope is stretched.}}
____________________________________________________________________________________________


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


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


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


| [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |See also=
|x1= <sqf>_length = ropeLength (ropes heli1 select 0);</sqf>
 
|seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Ropes and Sling Loading]]

Latest revision as of 01:24, 2 February 2024

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:
ropes canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeUnwound ropeAttachedTo ropeCreate ropeDetach ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind setSlingLoad slingLoadAssistantShown

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