Interactive Studio
back to documentation

Interactive Studio

Build no-code gameplay with tasks, triggers, effects, values, and player feedback.

Change Enemy Health

What it does

Changes the health of the selected Enemy NPC. You can set a specific value, add health, or subtract health.

Use it for a scripted hit, a healing phase, or a controlled boss-state change.

Required item compatibility

This effect is available only from an Enemy NPC. It is not a general NPC or building-item effect.

Setup

  1. Select the Enemy NPC whose health should change.
  2. Add Change Enemy Health to the task state where the change should occur.
  3. Choose an operation and enter the health amount.
  4. Test the full combat path, including defeat and recovery behavior.

Settings

Setting What it means
Operation Set Value replaces the current health. Add To Value increases it. Substract From Value decreases it; this is the spelling currently shown in the panel.
Health Change Whole-number amount used by the chosen operation.

Tiny example

A switch activates a phase change that uses Set Value with 50, leaving the selected enemy at 50 health.

Test and troubleshoot

  • Test with small positive whole numbers first.
  • Make sure the effect is placed on the Enemy NPC whose health you intend to change.
  • Use Revive Enemy or Reset Enemy deliberately rather than assuming a health change will revive a defeated enemy.

Related pages