Welcome to Radarspotting. Please login or sign up.

May 03, 2024, 01:50:45 AM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

GlobalOption "Hide aircraft not on map" does not work

Started by rdjsb, December 16, 2017, 11:53:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rdjsb

Hello,

I want to do 2 things via a Script in Virtual Radar Server and it does not work :
1) I am trying to enable te checkbox "Hide aircraft not on map" by default in the configuration menu.
2) I also want to hide this checkbox in the configuration menu, so this checkbox can not be unchecked.

Attached (file) the script I have running in Virtual Radar, but the checkbox is still visible in the configuration menu and the Aircraft not on the map are still shown in the list. The checkbox "Hide aircraft not on map" is not checked by the script.
What am I doing wrong? Or what's wrong in my script?

My plugin is configured the right way, because when I replace
QuoteVRS.globalOptions.aircraftListHideAircraftNotOnMap = true;
with
Quotealert('It worked!');
The script displays the alert box with the text 'It worked!'

So it looks like the global option "aircraftListHideAircraftNotOnMap" does not what it supposed to do.
I hope someone can help.

PS: I have the latest preview version of Virtual Radar Server installed.

Regards,
Roland


[Attachment deleted by Admin to save file space]