General > Developers Corner

Hide players from TTT Scoreboard

<< < (2/2)

monkeymacman:
I'm not sure of the specifics of it (right now on mobile), but maybe making a separate score group and maybe there's some way you could hide that (I think group:SetVisible(false) works)

iViscosity:
Interesting thought. You mean by using TTTScoreGroups to create another group? The issue I have is how do I make that group invisible.

I could probably use how Innocents can't see GROUP_NOTFOUND...

I'll take a look into it tomorrow.

Sent using Tapatalk. Owner of iViscosity Gaming.

monkeymacman:


--- Quote from: iViscosity on September 04, 2017, 09:51:51 PM ---Interesting thought. You mean by using TTTScoreGroups to create another group? The issue I have is how do I make that group invisible.

I could probably use how Innocents can't see GROUP_NOTFOUND...

I'll take a look into it tomorrow.

Sent using Tapatalk. Owner of iViscosity Gaming.

--- End quote ---
Yes, that's what I mean. And I am 90% sure you should be able to use :SetVisible because after a quick look the scoreboard and some point checka if there's less than 1 player in a scoregroup and if so uses that function to hide it, but I'm not sure if that hides everybody in it, or just the label itself.

iViscosity:

--- Quote from: monkeymacman on September 04, 2017, 09:56:21 PM ---Yes, that's what I mean. And I am 90% sure you should be able to use :SetVisible because after a quick look the scoreboard and some point checka if there's less than 1 player in a scoregroup and if so uses that function to hide it, but I'm not sure if that hides everybody in it, or just the label itself.

--- End quote ---
I can test it tomorrow. It seems to hide the entire group (for example there is no Spectators tab if there is no one spectating). Thanks for the help. I'll test it out tomorrow when I'm home from school and see how it works.


Sent using Tapatalk. Owner of iViscosity Gaming.

Navigation

[0] Message Index

[*] Previous page

Go to full version