FANDOM


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

The scripting command MoveWallObj has the opcode (0x21).

Arguments

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


Description

Moves the wall object to the given coordinates. Doesn't change it's orientation. Wall objects are only visible when viewed straight on, and were never intended to be anywhere but on squares directly facing walls.

Notes

Sample use is the gold in the dwarf mines. The gold on the wall is actually a wall object immediately *in front* of the wall in question. This opcode (combined with GiveExtended and AlterEvent) gives the illusion of the gold being mined by moving the wall object to position 128x128, well outside of the map.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.