Page MenuHomeFeedback Tracker

BIS_fnc_kbTell plays discussion via radio if radio forced off
Reviewed, NormalPublic

Description

In the function description it says:

_this select 3 (Optional): BOOL or STRING or OBJECT or CODE - true to force radio, name of custom radio channel, listener's channel, returned value of code

Some months ago setting this param to false would force radio off as it does when using kbTell, as in the speakers would speak through radio only if enough distance was between them.
Now it doesn't work anymore, the speakers will always speak through the radio no matter what.

If you set the channel to "direct" it of course forced radio off but then the speakers will not hear each other as distance grows..

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Download the included test mission , preview and exec the following code in the debug console:
["MyTopic", "MySentences", [], false] call BIS_fnc_kbTell
  1. observe how the discussion takes place via radio no matter how close you are
  2. Optionally you can test the following code from varying distances to see that kbTell still functions as it should:
[] spawn {
   [ap, apb] apply {_x kbAddTopic ["MyTopic", "talk.bikb"]};

   sleep 1;
   ap kbTell [apb, "MyTopic", "talk1", ["", {}, "", []], false];
   waitUntil{
      sleep 0.2;
      ap kbWasSaid [apb, "MyTopic", "talk1", 0.2];
   };

   apb kbTell [ap, "MyTopic", "talk2", ["", {}, "", []], false];
   waitUntil{
      sleep 0.2;
      apb kbWasSaid [ap, "MyTopic", "talk2", 1];
   };

   apb kbTell [ap, "MyTopic", "talk3", ["", {}, "", []], false];
};
Additional Information

line 303

Event Timeline

h- created this task.Dec 2 2017, 8:22 AM
Wulf changed the task status from New to Reviewed.Dec 4 2017, 3:31 PM
Wulf added a subscriber: Wulf.

Hello.

Thank you for the report, we will have a look at it.