ropeLength: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma 3 | | | arma 3 |Game name= | ||
|1.34| | |1.34|Game version= | ||
____________________________________________________________________________________________ | |||
| 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= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[ropeLength]] rope |Syntax= | ||
|p1 = rope: [[Object]] | |p1 = rope: [[Object]] | ||
| [[Number]] | | |||
| [[Number]] |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>_length = | |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= | |||
}} | }} | ||
Line 28: | Line 29: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Ropes and Sling Loading]] | |||
Revision as of 23:48, 29 March 2019
Description
- Description:
- Return rope length in meters (set by ropeCreate, ropeCut, ropeUnwind).
- Groups:
- Uncategorised
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