Theseus-Aegis / Mods

Collection of systems, tweaks and enhancements for Arma 3
https://www.theseus-aegis.com
Other
19 stars 8 forks source link

Mission - Fix Hunt Group not showing count #665

Closed Mike-MF closed 7 months ago

Mike-MF commented 7 months ago

When merged this pull request will:

jonpas commented 7 months ago

Now it will show 0? That is also incorrect! You should handle undefined value in monitorUnits and display something else, eg. N/A.

Mike-MF commented 7 months ago

It's only updated on the server to prevent publicVariable shenanigans, but 0 makes everything fit nicely where as scalar cuts off the FPS and it bothers me.

jonpas commented 7 months ago

But it's not 0.

Mike-MF commented 7 months ago

But it's also only tracked on the server.

Shouldn't be locally using it for checking hunt groups anyway, so it will be wrong but so is not watching via server!

I just use it to see people's FPS

jonpas commented 7 months ago

If function should not be used locally, then it should exit and not display "wrong" values.

If only hunt groups should not work locally, then instead of showing a number, just show N/A, that's a simple format ["... %1 ...", [_groups, "N/A"] select (isServer)].