ropeCut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Killzone Kid (talk | contribs) (explained) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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.<br><br> | ||
{{Informative | The rope could only be shortened. If the cut length is greater than current rope length, nothing happens}} |Description= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ropeCut]] [rope, | | [[ropeCut]] [rope, length] |Syntax= | ||
|p1 = rope: [[Object]] | |p1 = rope: [[Object]] - rope object obtained from [[ropeCreate]] | ||
|p2 = | |p2 = length: [[Number]] - length of the rope in meters after the cut | ||
| [[Nothing]] |Return value= | | [[Nothing]] |Return value= |
Revision as of 19:01, 1 September 2019
Description
- Description:
- 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.
- Groups:
- Uncategorised
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