Jump to content
Sign in to follow this  
Kydoimos

KBTell and forceRadio

Recommended Posts

Hi all, having a spot of bother with forcing the radio on a KBTell message. I don't quite understand where the boolian goes and I'm still learning scripting. Here is what I have:

_Goddard kbAddTopic ["conv", "Sentences.bikb", "", ""];
_Goddard kbTell [Coleridge, "conv", "ER_34_Goddard"];]

And here is the correct syntax:

person kbTell [receiver, TopicName, SentenceClass, [argument name, argument value, argument text, argument speech], ...{,forceRadio}] 

Can someone help me out? Thanks ever so!

Share this post


Link to post
Share on other sites

By forcing the radio, I mean to make the message play with static and bleeps, as if the communication is being made at a distance.

Share this post


Link to post
Share on other sites

It's this part I'm struggling with: ...{,forceRadio}]

Share this post


Link to post
Share on other sites

The last element of the array should be true if you want to force use of the radio.

Example:

_Goddard kbTell [Coleridge, "conv", "ER_34_Goddard", true];

The in game help for kbTell also says you can use some other options, which isn't mentioned on the BI wiki page:

Last parameter can be false/true to force radio channel selection, or number 1..10 to force possible CustomChannel, or radio channel name 'GLOBAL', 'SIDE', 'GROUP', 'VEHICLE', 'DIRECT', 'COMMAND'

Share this post


Link to post
Share on other sites

Ah brill, thanks ceeeb! I'll give that a go - you're a star!

Share this post


Link to post
Share on other sites

Nuts! Unfortunately, it didn't work - the message didn't play over the radio. Could it be because both units were in a vehicle? Sort of though that the forceRadio option might force the message to be aired on the radio despite the channel? Hmmm, let us know if anyone has any thoughts...

Share this post


Link to post
Share on other sites

Forcing use of the side (or other) radio channel still works if both units are in a vehicle together.

Example:

_Goddard kbTell [Coleridge, "conv", "ER_34_Goddard", "SIDE"];

I will update the wiki page

Share this post


Link to post
Share on other sites

Great stuff! Thanks Ceeb, very helpful!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×