NPC

Our NPC is a genarice template for interactable people and enemies in the game.

NPC Script

This is a basic script with varaible that the NPC will use.

  • Bar A reference to the NPC health bar.
  • Stats A reference to the NPC states.
  • Visibility This toggles if the health bar is shown or not. if shown the NPC can take damage but if not shown it will not take damage.