ropeDestroy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(44 intermediate revisions by 6 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
____________________________________________________________________________________________


| Destroy a rope. |= Description
|descr= Destroys the given rope. If the rope is attached to a vehicle, it will be detached and then destroyed.
____________________________________________________________________________________________


| '''ropeDestroy''' rope|= Syntax
|s1= [[ropeDestroy]] rope


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


| [[Nothing]] |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________


|x1= <code>[[ropeDestroy]] myRope;</code> |= Example 1
|x1= <sqf>ropeDestroy myRope;</sqf>
 
| [[ropeCreate]], [[ropeDetach]], [[ropeSetCargoMass]]  |= 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 13: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