clearRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Some wiki formatting)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= ofpe
|version1= 1.00


|1.00
|game2= arma1
|version2= 1.00


|eff= local
|game3= arma2
|version3= 1.00


|gr1= Radio and Chat
|game4= arma2oa
|version4= 1.50


| Clean up the content of radio protocol history.
|game5= tkoh
|version5= 1.00


| '''clearRadio'''
|game6= arma3
|version6= 0.50


| [[Nothing]]
|eff= local
 
|x1= <code>[[clearRadio]];</code>


| [[enableRadio]]
|gr1= Radio and Chat
}}


<dl class="command_description">
|descr= Clean up the content of radio protocol history.
<!-- Note Section BEGIN -->


<dt class="note">[[User:Crowe|Crowe]]<dd class="note">
|s1= [[clearRadio]]
Use <code>[[enableRadio]] false;</code> to disable the chat.


|r1= [[Nothing]]


<!-- 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;
};


clearRadio; // removes previous messages
enableRadio false; // disables the chat
</sqf>


[[Category:Scripting Commands|CLEARRADIO]]
|seealso= [[enableRadio]]
{{GameCategory|ofpe|Scripting Commands}}
}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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