Open EasternGamer opened 3 years ago
I doubt letting others control your lights will be a thing :) But ill leave this for now.
Hi there!
Could be something to add. However, will require an explicit execution and master player only, to prevent abuse or annoying things.
Just don't like the name I will have to put on that, a bit too long 😓
unit.getMasterPlayerLightState()
unit.setPlayerLightState( state)
As always no promise but will consider to add that.
Would be the sort of thing that you might want to use with #44...
@Archaegeo this is added iirc.
I was thinking about the camera API over the weekend, and sort of thought of a small thing to add along with it: the ability to get the state of your character lights and maybe turn them on and off. Something like this:
system.getPlayerLightState(pid) -> returns true or false system.setPlayerLightState(cid, true/false) -> enables or disables it respectively. Could
It's a small thing with little actual use, aside from perhaps controlling user lights since some ships look bad when you use your lights, ship builders could add a detection zone to specifically disable and enable them depending on where you go automatically, or simply find out who is using a light.