Appearance
ChangeOnMap ​
GameserverMessageChangeOnMap · inbound · 48 bytes
Subscribe with Engine.on("ChangeOnMap", fn). Print the live usage block with Engine.help("ChangeOnMap").
A specialized decoder also runs for this type and may add richer nested fields.
lua
local Engine = require("sdk.engine")
Engine.on("ChangeOnMap", function(ev)
print(ev.stackpos)
end)| Name | Kind | Nested |
|---|---|---|
position | msg | Coordinate |
stackpos | u32 | — |
appearance | msg | AppearanceInstance |