disableUAVConnectability: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
No edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.24


|1.24|= Game version
|eff= local


|eff= local|= Effects in MP
|gr1= Remote Control
____________________________________________________________________________________________


| Disables unit's AV terminal(s) connecting to UAV. |DESCRIPTION=
|descr= Disables unit's AV terminal(s) connecting to UAV.
____________________________________________________________________________________________


| object '''disableUAVConnectability''' [uav, checkAllItems] |SYNTAX=
|s1= object [[disableUAVConnectability]] [uav, checkAllItems]


|p1= object: [[Object]] |PARAMETER1=
|p1= object: [[Object]]


|p2= [uav, checkAllItems]: [[Array]] |PARAMETER2=
|p2= uav: [[Object]]


|p3= uav: [[Object]] or [[Array]] |PARAMETER3=
|p3= checkAllItems: [[Boolean]] - [[true]] to disable all terminals in unit's inventory, [[false]] to only disable the currently assigned terminal.


|p4= checkAllItems: [[Boolean]] - True for disabling of all terminals in unit's inventory, false for disabling of terminal assigned to proper slot only. |PARAMETER4=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=
|x1= <sqf>myUnit disableUAVConnectability [myUav, true];</sqf>
____________________________________________________________________________________________
 
|x1= <code>unit [[disableUAVConnectability]] [uav,true];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[isUAVConnectable]], [[enableUAVConnectability]] |SEEALSO=


|seealso= [[isUAVConnectable]] [[enableUAVConnectability]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<dt><dt>
<dl class="command_description">
<dd class="notedate">Posted on 2018-09-15 - 20:13 (UTC)</dd>
<dd class="notedate">Posted on September 15, 2018 - 20:13 (UTC)</dd>
<dt class="note">[[User:PingWing|PingWing]]</dt>
<dt class="note">[[User:PingWing|PingWing]]</dt>
<dd class="note">
<dd class="note">
This command has effect on a UAV terminal, not on whether a unit is able to connect to a UAV or not.<br/>
This command has effect on a UAV terminal, not on whether a unit is able to connect to a UAV or not.<br>
When a unit gets a new UAV terminal, the unit will be able to connect to the UAV again, unless this command is executed again.
When a unit gets a new UAV terminal, the unit will be able to connect to the UAV again, unless this command is executed again.
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 00:18, 12 November 2023

Hover & click on the images for description

Description

Description:
Disables unit's AV terminal(s) connecting to UAV.
Groups:
Remote Control

Syntax

Syntax:
object disableUAVConnectability [uav, checkAllItems]
Parameters:
object: Object
uav: Object
checkAllItems: Boolean - true to disable all terminals in unit's inventory, false to only disable the currently assigned terminal.
Return Value:
Nothing

Examples

Example 1:
myUnit disableUAVConnectability [myUav, true];

Additional Information

See also:
isUAVConnectable enableUAVConnectability

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 2018-09-15 - 20:13 (UTC)
PingWing
This command has effect on a UAV terminal, not on whether a unit is able to connect to a UAV or not.
When a unit gets a new UAV terminal, the unit will be able to connect to the UAV again, unless this command is executed again.