Author Topic: Scripting  (Read 1223 times)

Except for that locking peoples' lights on if they are on when it is disabled, that probably works.

Except for that locking peoples' lights on if they are on when it is disabled, that probably works.

Ah yes, forgot about that. And I don't mess around server-side enough anymore to remember what says if it's on or off, unless you look for the object itself... Meh, someone else find it?

-snip-

I'd feel sorry for anyone that left their light on when those meanie head admins disabled them.

STUCK WITH LIGHT FOREVER.


If you need any references, check out my "SetPlayerLight" event.

I'd feel sorry for anyone that left their light on when those meanie head admins disabled them.

STUCK WITH LIGHT FOREVER.


If you need any references, check out my "SetPlayerLight" event.

Tried a fix, not sure if it'd work. You tell me, I probably messed it.

That looks like it would work.

I'd feel sorry for anyone that left their light on when those meanie head admins disabled them.

STUCK WITH LIGHT FOREVER.
when you Self Delete, doesn't your light turn off anyway?

when you Self Delete, doesn't your light turn off anyway?
What if you don't wanna Self Delete?

true, but just saying, that it isn't forever :D

I'd feel sorry for anyone that left their light on when those meanie head admins disabled them.

STUCK WITH LIGHT FOREVER.


If you need any references, check out my "SetPlayerLight" event.
When you disable lights it turns off everybody's lights :/

When you disable lights it turns off everybody's lights :/
Which if you know how to script, you should be able to adjust that to work for everyone.


A GUI that lists all players, each could be selected and given a dropdown of "always on", "always off", "enabled", "disabled", and "default", where there is an additional setting for default, and enabled and disabled control if the player can toggle their light regardless of it's current state(Possibly with code to preserve the state if they rejoin or respawn)?


Hmm... Tangent time! Idea for an add-on: An administration GUI that lists each player, as well as script-added others, in the left panel, and in the right it shows add-on registered preferences for that client, the whole thing set up as a utility for other add-ons to hook into as an advanced settings GUI, focused on per-player settings to go along with RTB's serverwide settings...