Jump to content

Recommended Posts

I have the following script that grabs an RGB array from a quest script and then pass it to a light to change its color. For some reason, the light does not appear ingame (even though it has a bright red default color) but it does show if I open the console or the inventory.

I did use update3D but to no avail.

 

Script :

 

 

SCN LightScript

ref mySelf


array_var color


Begin GameMode
let Color := aLighting.Color
set mySelf to getself
mySelf.SetLightRGB Color
mySelf.update3D
End

 

 

 

Screenshot of light with console opened :

 

 

 

Screenshot with the console closed :

 

 

Edited by TheMedievalsKnights
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...