Skip to content

Obstacle_bow

Jan Sandström edited this page Apr 28, 2020 · 1 revision

A bow obstacle needs the player to hit a target with an arrow from the bow to progress.

Each map script must include this helper snippet:

local map, data = ...

local bow = require 'maps/components/obstacle_bow/obstacle_bow'

bow.init(map, data)

Apart from the common obstacle tiles the map requires:

  • A target backdrop in form of a statue. The statue is comprised of two tiles (bow.target.bottom and bow.target.top), not to be confused with statue.5.
  • A switch of the "arrow target*" subtype named switch.

Clone this wiki locally