ropeDestroy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added ropeDetach to "See Also")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command


{{Command|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| TKOH |= Game name
|game2= arma3
|version2= 1.34


|1.00|= Game version
|gr1= Ropes and Sling Loading


| game2= arma3 |=
|descr= Destroys the given rope. If the rope is attached to a vehicle, it will be detached and then destroyed.
| version2= 1.34 |=
____________________________________________________________________________________________


| Destroy a rope. |= Description
|s1= [[ropeDestroy]] rope
____________________________________________________________________________________________


| '''ropeDestroy''' rope|= Syntax
|p1= rope: [[Object]] - rope object returned by [[ropeCreate]] command


|p1= rope: [[Object]] - rope object returned by [[ropeCreate]] command |= Parameter 1
|r1= [[Nothing]]


| [[Nothing]] |= Return value
|x1= <sqf>ropeDestroy myRope;</sqf>
____________________________________________________________________________________________
 
|x1= <code>[[ropeDestroy]] myRope;</code> |= Example 1
 
| [[ropeCreate]], [[ropeDetach]], [[ropeSetCargoMass]], [[ropes]], [[canSlingLoad]], [[enableRopeAttach]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]]  |= See also


|seealso= [[ropeCreate]] [[ropeDetach]] [[ropeSetCargoMass]] [[ropes]] [[canSlingLoad]] [[enableRopeAttach]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Destroys the given rope. If the rope is attached to a vehicle, it will be detached and then destroyed.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropeDestroy rope
Parameters:
rope: Object - rope object returned by ropeCreate command
Return Value:
Nothing

Examples

Example 1:
ropeDestroy myRope;

Additional Information

See also:
ropeCreate ropeDetach ropeSetCargoMass ropes canSlingLoad enableRopeAttach getSlingLoad ropeAttachedObjects ropeAttachTo ropeLength ropeUnwound ropeAttachedTo ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind

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