customRadio: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
| Line 21: | Line 21: | ||
|s1= unit [[customRadio]] [customChannelID, message] | |s1= unit [[customRadio]] [customChannelID, message] | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] - sender | ||
|p2= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command | |p2= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command | ||
Latest revision as of 00:13, 17 November 2025
Description
- Description:
- Sends the message to the custom radio channel. The message is defined in the description.ext file or radio protocol.
- Groups:
- Radio and ChatSoundsCustom Radio and Chat
Syntax
- Syntax:
- unit customRadio [customChannelID, message]
- Parameters:
- unit: Object - sender
- customChannelID: Number - custom channel ID returned by radioChannelCreate command
- message: String
- Return Value:
- Nothing
Examples
- Example 1:
- _soldierOne customRadio [1, "WordEnemy"];
Additional Information
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 Dec 03, 2016 - 21:35 (UTC)
-
To transmit user custom sounds (see Multiplayer_Custom_Sounds_Tutorial), prefix the full filename including file extension with #. For example if there is a custom user sound file called MySound.ogg, to play it on the radio use: