Appearance
AmbientLight ​
GameserverMessageAmbientLight · inbound · 32 bytes
Subscribe with Engine.on("AmbientLight", fn). Print the live usage block with Engine.help("AmbientLight").
lua
local Engine = require("sdk.engine")
Engine.on("AmbientLight", function(ev)
print(ev.color, ev.brightness)
end)| Name | Kind | Nested |
|---|---|---|
color | u32 | — |
brightness | u32 | — |