clearRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(51 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CLEARRADIO]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |CLEARRADIO]]
[[Category:Scripting Commands ArmA|CLEARRADIO]]


|game1= ofpe
|version1= 1.00


<h2 style="color:#000066">''' clearRadio'''</h2>
|game2= arma1
|version2= 1.00


|game3= arma2
|version3= 1.00


'''Operand types:'''
|game4= arma2oa
|version4= 1.50


None
|game5= tkoh
|version5= 1.00


'''Type of returned value:'''
|game6= arma3
|version6= 0.50


[[Nothing]]
|eff= local


'''Compatibility:'''
|gr1= Radio and Chat


Version 2.73 required.
|descr= Clean up the content of radio protocol history.


'''Description:'''
|s1= [[clearRadio]]


Clean up the content of radio protocol history.
|r1= [[Nothing]]
 
|x1= <sqf>
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>
 
|seealso= [[enableRadio]]
}}

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