Appearance
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)| Name | Kind | Nested |
|---|---|---|
creature_id | u32 | — |
creature_id2 | u32 | — |