ropeLength: Difference between revisions
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
| (38 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |game1= arma3 | ||
|version1= 1.34 | |||
| | |gr1= Ropes and Sling Loading | ||
| | |descr= Return rope length in meters (set by [[ropeCreate]], [[ropeCut]], [[ropeUnwind]]). | ||
{{Feature|Informative|Returned rope length will remain the same, even if the rope is stretched.}} | |||
| | |s1= [[ropeLength]] rope | ||
| [[ | |p1= rope: [[Object]] | ||
| | |r1= [[Number]] | ||
|x1= <sqf>_length = ropeLength (ropes heli1 select 0);</sqf> | |||
|x1 = < | |||
| [[ropes]] | |seealso= [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]] | ||
}} | }} | ||
Revision as of 10:24, 13 May 2022
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:
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.
Only post proven facts here! Add Note