Enemy: Trapper - Orhu/Summer2023Project GitHub Wiki

Trapper (Enemy)

Overview

Belongs to the Goblins family.

Runs away when player is within certain range. When out of range, stops for a few seconds to attempt to lay a trap.

  • If successful, drops a damaging and/or snaring trap on the ground that lasts several seconds and disappears when doors open
  • While laying his trap, the Trapper Goblin can't move, even if the player gets close.
  • After his trap is laid, the Trapper Goblin will be able to move again.

Finite State Machine

Coming soon