Hello,
when creating a custom channel and using the customChat command, there is no message shown. If you open the chat manually.
You can post in the custom channel.
Hello,
when creating a custom channel and using the customChat command, there is no message shown. If you open the chat manually.
You can post in the custom channel.
_channel = radioChannelCreate [[0.9,0.1,0.1,1],"Admin","Admin",[],true];
_channel radioChannelAdd [player];
_channel radioChannelSetCallSign format ["MEH0", "MEH"];
player customChat [_channel, "ADADADA"];
Can confirm it works in SP until you use the command radioChannelRemove and wait before you add to the channel again.
The custom chat does not work at all when hosted through listen server through 3den.
Code I tried it with with local execution, similar to working code prior to 2.18
// post init if (isNil "diw_chatChannel") then { diw_chatChannel = radioChannelCreate [[0.9,0.1,0.1,1], "Chat", "Chat", [], true]; publicVariable "diw_chatChannel"; // not needed for test }; // simulate FPARMA usecase for receiving whispered messages [] spawn { // get whisper message sent diw_chatChannel radioChannelAdd [player]; diw_chatChannel radioChannelSetCallsign "Some schmuck"; player customChat [diw_chatChannel, format ["Hey this works!! %1", time]]; diw_chatChannel radioChannelRemove [player]; sleep 1; // get another message diw_chatChannel radioChannelAdd [player]; diw_chatChannel radioChannelSetCallsign "Some schmuck"; player customChat [diw_chatChannel, format ["This doesn't!! %1", time]]; diw_chatChannel radioChannelRemove [player]; sleep 1; comment "see if new channel works, for some reason // breaks here"; private _channel = radioChannelCreate [[0.9,0.1,0.1,1],"Admin","Admin",[],true]; _channel radioChannelAdd [player]; _channel radioChannelSetCallSign format ["MEH0", "MEH"]; player customChat [_channel, "Hey I work! 1"]; player customChat [_channel, "Hey I work! 2"]; _channel radioChannelRemove [player]; _channel radioChannelAdd [player]; player customChat [_channel, "Hey I work! 3"]; _channel radioChannelRemove [player]; sleep 1; _channel radioChannelAdd [player]; player customChat [_channel, "Aaaand borke it 1"]; player customChat [_channel, "Aaaand borke it 2"]; };