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