Skip to content

UpdateTarget ​

GameserverMessageUpdateTarget · inbound · 32 bytes

Subscribe with Engine.on("UpdateTarget", fn). Print the live usage block with Engine.help("UpdateTarget").

A specialized decoder also runs for this type and may add richer nested fields.

lua
local Engine = require("sdk.engine")

Engine.on("UpdateTarget", function(ev)
  print(ev.creature_id, ev.creature_id2)
end)
NameKindNested
creature_idu32—
creature_id2u32—

Arcane SDK catalog generated from scripts/sdk