#Custom Chat Help
1 messages · Page 1 of 1 (latest)
So as I understand it, first I need to create the channel with radioChannelCreate.
I'll use the example from the wiki. In my initServer.sqf I have ```sqf
radioChannelCreate [[1, 1, 1, 1], "Q-dance Radio", "%UNIT_NAME", command, false];
I don't understand what most of these indexes do.
[1, 1, 1, 1] is white text. I'm cool with that.
What is Q-dance Radio? Is this what is displayed as the message sender at the bottom left, much like side chat?
What is "%UNIT_NAME"? The wiki says callSign. Perhaps this is what is displayed as the message sender instead of the above?
The next index is units (command). I'm assuming this is a list of all unit variable name that can see the custom chat messages?
The next index is a boolean. The wiki talks of color but I thought the first index is color.
Q dance is just the channel name. Can be whatever you want.
The %whatever is a bunch of different things you can use which will show as the "name" of the unit in the channel sending the message
I'll find the page for you
Units is not command. It's an array.
Units are the units you wanted added to the channel so they can see the messages
However, like my notes state on the wiki, when a unit dies, the channel stops working for them so you need to re add them back to the channel for it to work on respawn.