seek

From Wiki of ZZT
Revision as of 00:03, 10 February 2021 by Rbts (talk | contribs) (Created page with "{{DISPLAYTITLE:seek}} '''seek''' is a ZZT-OOP direction token which points towards the player. When the object and player are aligned horizontally or vertically,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


seek is a ZZT-OOP direction token which points towards the player.

When the object and player are aligned horizontally or vertically, seek will point directly to the player. When not aligned, seek will randomly pick one of two directions (with a 50-50 chance) that generally lead to the player. For example, if an object is located to the northeast of the player, the command #go seek will make the object step south or west.

Quirks

  • seek is reversed when the player is energized. One can work around this by checking the energized flag and branching to alternate commands that use opp seek instead.