Jump to content

GetColor() not exposed?


Rick
 Share

Recommended Posts

The following Lua script when attached to a point light (haven't tested with other things) gives me the error 'Attempt to call method 'GetColor' (a nil value)'. I need to change the light on the fly.

 

function Script:UpdateWorld()
local color = self.entity:GetColor()
end

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...