You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: