Xeen Wiki
Supported In:
C D/S/W W-CD
? ? ?

The scripting command MoveObj has the opcode (0x0B).

Arguments

  • Byte - The object number as given on the map.
  • X-Coordinate (byte)
  • Y-Coordinate (byte)


Description

Moves the map object to the given coordinates. If no event exists at that position, it defaults to "Nothing Here".

Notes

This opcode is how chests move, and huts turn into fire. The X/Y coordinates can be made to be outside the map as well, to make it appear the object has disappeared.