ropeDetach: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(48 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
____________________________________________________________________________________________


| Detach a rope from an object. |= Description
|descr= Detaches attached object from rope (i.e. detaches rope end from attached to it entity). See [[ropeAttachTo]] for attach operation.
____________________________________________________________________________________________


| vehicle '''ropeDetach''' rope;|= Syntax
|s1= attachedObject [[ropeDetach]] rope


|p1= vehicle: [[Object]] |= Parameter 1
|p1= attachedObject: [[Object]] - entity attached to the end of rope
|p2= rope: [[Object]]|= Parameter 2


| [[Nothing]] |= Return value
|p2= rope: [[Object]] - rope object to which entity is attached
____________________________________________________________________________________________


| [[ropeCreate]], [[ropeSetCargoMass]], [[ropeDestroy]]  |= See also
|r1= [[Nothing]]


|x1= <sqf>vehicle player ropeDetach myRope;</sqf>
|seealso= [[ropeCreate]] [[ropeDestroy]] [[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 11:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Detaches attached object from rope (i.e. detaches rope end from attached to it entity). See ropeAttachTo for attach operation.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
attachedObject ropeDetach rope
Parameters:
attachedObject: Object - entity attached to the end of rope
rope: Object - rope object to which entity is attached
Return Value:
Nothing

Examples

Example 1:
vehicle player ropeDetach myRope;

Additional Information

See also:
ropeCreate ropeDestroy 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