i would like to have the same function from E2 in Starfall, "holoVisible". Basicly it only shows the players they are listed in there the Hologram.
if there is already something in SF i didnt found it on the Docs.
e2function void holoVisible(index, array players, visible)
local Holo = CheckIndex(self, index)
if not Holo then return end
set_visible(Holo, players, visible)
end
The client receives a net message and does the equivalent of
Code:
Hologram:setNoDraw(<boolean>)
Don't call this on the server, it might make the entity cease to exist clientside.
E2 can't run on the client, but starfall can. So it's up to you to synchronize this. Just be careful, if you do it like this the entity might flash visible to everyone for a second, as it does with E2.