ropeLength: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.34 | |1.34 | ||
|gr1= Ropes and Sling Loading | |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.}} | {{Informative|Returned rope length will remain the same, even if the rope is stretched.}} | ||
| [[ropeLength]] rope | | [[ropeLength]] rope | ||
|p1 = rope: [[Object]] | |p1 = rope: [[Object]] | ||
| [[Number]] | | [[Number]] | ||
|x1 = <code>_length = [[ropeLength]] ([[ropes]] heli1 [[select]] 0);</code> | |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]] | | [[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
Description
- Description:
- Return rope length in meters (set by ropeCreate, ropeCut, ropeUnwind).
- 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