-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Size 5: TrivialSomething that will take a couple minutes to do; a couple of lines to change.Something that will take a couple minutes to do; a couple of lines to change.Type: EnhancementThis is something that improves upon an already existing thing.This is something that improves upon an already existing thing.What: ScriptingAngelScript or VScript related issuesAngelScript or VScript related issues
Description
What would this enhancement be for?
Scripting
Describe your enhancement suggestion in more detail
The CLight class has a SetLightColor function, which takes a vector as a color, and a float as a brightness. There should be a GetLightColor function which returns a vector with the light's current color.
Additionally, if possible, I'd leave the float argument from SetLightColor as optional, and implement two new functions: GetLightBrightness and SetLightBrightness, which return or receive a float, respectively.
This way, it's much easier to manipulate existing lights in the world.
Metadata
Metadata
Assignees
Labels
Size 5: TrivialSomething that will take a couple minutes to do; a couple of lines to change.Something that will take a couple minutes to do; a couple of lines to change.Type: EnhancementThis is something that improves upon an already existing thing.This is something that improves upon an already existing thing.What: ScriptingAngelScript or VScript related issuesAngelScript or VScript related issues