ropeLength: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) 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 02:20, 17 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