ropeCut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing " to "|r1= Nothing ")
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=")
Line 11: Line 11:
| [[ropeCut]] [rope, length]
| [[ropeCut]] [rope, length]


|p1 = rope: [[Object]] - rope object obtained from [[ropeCreate]]
|p1= rope: [[Object]] - rope object obtained from [[ropeCreate]]


|p2 = length: [[Number]] - length of the rope in meters after the cut  
|p2= length: [[Number]] - length of the rope in meters after the cut  


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1 = <code>[[ropeCut]] [<nowiki/>[[ropes]] heli1 [[select]] 0, 5];</code>
|x1= <code>[[ropeCut]] [<nowiki/>[[ropes]] heli1 [[select]] 0, 5];</code>


|seealso= [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]]
|seealso= [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]]

Revision as of 00:29, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Ropes and Sling Loading

Syntax

Syntax:
Syntax needed
Parameters:
rope: Object - rope object obtained from ropeCreate
length: Number - length of the rope in meters after the cut
Return Value:
Nothing

Examples

Example 1:
ropeCut [ropes heli1 select 0, 5];

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