Skip to content

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)
NameKindNested
coloru32—
brightnessu32—

Arcane SDK catalog generated from scripts/sdk