enableRopeAttach: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added enableRopeAttach command based on ingame documentation and experimentation)
 
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3 $4;</sqf>")
 
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma 3 |= Game name
|game1= arma3
|version1= 1.34
|arg= local
|eff= global


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


____________________________________________________________________________________________
|descr=Enables or disables the ability to be attached to a rope end for the given entity.


|Enable/disable ability to attach or be attached to ropes for given vehicle|= Description
|s1= entity [[enableRopeAttach]] enable
____________________________________________________________________________________________


|vehicle '''enableRopeAttach''' enable|= Syntax
|p1= entity: [[Object]] - given entity
|p1 = vehicle: [[Object]]
|p2 = enable: [[Boolean]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
|x1 = <code>([[vehicle]] [[player]]) '''enableRopeAttach''' [[false]];</code> |= Example1


|p2= enable: [[Boolean]] - [[false]] to disable rope attachment


| [[ropes]], [[canSlingLoad]], [[getSlingLoad]], [[ropeAttachedObjects]], [[ropeAttachTo]], [[ropeDestroy]], [[ropeLength]], [[ropeUnwound]], [[ropeAttachedTo]], [[ropeCreate]], [[ropeDetach]], [[ropeAttachEnabled]], [[ropeCut]], [[ropeEndPosition]], [[ropeUnwind]], [[setSlingLoad]], [[slingLoadAssistantShown]] |= See also
|r1= [[Nothing]]


|x1= <sqf>vehicle player enableRopeAttach false;</sqf>
|seealso= [[ropes]] [[canSlingLoad]] [[getSlingLoad]] [[ropeAttachedObjects]] [[ropeAttachTo]] [[ropeDestroy]] [[ropeLength]] [[ropeUnwound]] [[ropeAttachedTo]] [[ropeCreate]] [[ropeDetach]] [[ropeAttachEnabled]] [[ropeCut]] [[ropeEndPosition]] [[ropeUnwind]] [[setSlingLoad]] [[slingLoadAssistantShown]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">


<dd class="notedate">Posted on 05 April, 2014
<dt></dt>
<dt class="note">'''[[User:Waffle SS.|Waffle SS.]]'''<dd class="note"><br>
<dd class="notedate">Posted on 05 April, 2014</dd>
Attachable nearby vehicles may not update on Sling Load Assistant until re-opened.<br>
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt>
<dd class="note">Attachable nearby vehicles may not update on Sling Load Assistant until re-opened.<br>


</dl>
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:11, 5 May 2022

Hover & click on the images for description

Description

Description:
Enables or disables the ability to be attached to a rope end for the given entity.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
entity enableRopeAttach enable
Parameters:
entity: Object - given entity
enable: Boolean - false to disable rope attachment
Return Value:
Nothing

Examples

Example 1:
vehicle player enableRopeAttach false;

Additional Information

See also:
ropes canSlingLoad getSlingLoad ropeAttachedObjects ropeAttachTo ropeDestroy ropeLength ropeUnwound ropeAttachedTo ropeCreate ropeDetach ropeAttachEnabled ropeCut ropeEndPosition ropeUnwind setSlingLoad slingLoadAssistantShown

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
Posted on 05 April, 2014
Waffle SS.
Attachable nearby vehicles may not update on Sling Load Assistant until re-opened.