ropeCut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 9: | Line 9: | ||
| Cuts the given rope to the specified length. If some entity was attached to the end of the rope, it will be detached. The rope remains attached to its parent transport and if the length is set to 0 or even negative does not get destroyed. Use [[ropeDestroy]] to remove it completely.{{Feature | Informative | The rope could only be shortened. If the cut length is greater than current rope length, nothing happens}} | | Cuts the given rope to the specified length. If some entity was attached to the end of the rope, it will be detached. The rope remains attached to its parent transport and if the length is set to 0 or even negative does not get destroyed. Use [[ropeDestroy]] to remove it completely.{{Feature | Informative | The rope could only be shortened. If the cut length is greater than current rope length, nothing happens}} | ||
| [[ropeCut]] [rope, length] | |s1= [[ropeCut]] [rope, length] | ||
|p1= rope: [[Object]] - rope object obtained from [[ropeCreate]] | |p1= rope: [[Object]] - rope object obtained from [[ropeCreate]] |
Revision as of 23:20, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Ropes and Sling Loading
Syntax
- Syntax:
- ropeCut [rope, length]
- Parameters:
- rope: Object - rope object obtained from ropeCreate
- length: Number - length of the rope in meters after the cut
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown
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