clearRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Formatted comment.)
m (Some wiki formatting)
 
(43 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= ofpe
|version1= 1.00


|1.00|= Game version
|game2= arma1
|version2= 1.00


|eff= local |= Effects in MP
|game3= arma2
____________________________________________________________________________________________
|version3= 1.00


| Clean up the content of radio protocol history. |= Description
|game4= arma2oa
____________________________________________________________________________________________
|version4= 1.50


| '''clearRadio''' |= Syntax
|game5= tkoh
|version5= 1.00


| [[Nothing]] |= Return value
|game6= arma3
____________________________________________________________________________________________
|version6= 0.50
 
|x1= <pre>clearRadio;</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|eff= local


}}
|gr1= Radio and Chat
 
|descr= Clean up the content of radio protocol history.


<h3 style="display:none">Notes</h3>
|s1= [[clearRadio]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<dt class="note">'''[[User:Crowe|Crowe]]'''</dt><dd class="note">''Notes:''
|r1= [[Nothing]]
Use [[enableRadio]] false; to disable the chat.
</dd>


<!-- Note Section END -->
|x1= <sqf>
</dl>
for "_i" from 3 to 1 step -1 do
{
systemChat format ["The chat history will disappear in %1", _i];
sleep 1;
};


<h3 style="display:none">Bottom Section</h3>
clearRadio; // removes previous messages
enableRadio false; // disables the chat
</sqf>


[[Category:Scripting Commands|CLEARRADIO]]
|seealso= [[enableRadio]]
[[Category:Scripting Commands OFP Elite |CLEARRADIO]]
}}
[[Category:Scripting Commands ArmA|CLEARRADIO]]
[[Category:Command_Group:_Radio_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:34, 7 November 2024

Hover & click on the images for description

Description

Description:
Clean up the content of radio protocol history.
Groups:
Radio and Chat

Syntax

Syntax:
clearRadio
Return Value:
Nothing

Examples

Example 1:
for "_i" from 3 to 1 step -1 do { systemChat format ["The chat history will disappear in %1", _i]; sleep 1; }; clearRadio; // removes previous messages enableRadio false; // disables the chat

Additional Information

See also:
enableRadio

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