Back to Sample Projects

The Returning Raider

Try an immediate attack button with an enemy that can leave and return.

Open Sample Projects → Feature Workshops → The Returning Raider. The editable project is a separate copy. You can also play the example without replacing your open game.

Play it

  1. TAKE TRAINING BLASTER and go EAST.
  2. Click SHOOT when the raider is present. Each press is immediate.
  3. If it retreats, WAIT until it returns. Keep shooting until it is defeated.
  4. Go WEST and click CLAIM BADGE for 10 points.

See how it was made

Open Gameplay → Activities → Shoot Raider. The button requires the blaster and a nearby living target. Hits have an 85% chance and use the existing NPC defense and defeat rules. Open World → NPCs → training raider → Abilities and capabilities. Its enemy variation sets a 60% attack chance, two turns between attacks, one or two attacks before retreat, and two to four turns away. Allowed rooms keep it in the yard and passage.

Try the other paths

Try SHOOT without the weapon. Save when the raider retreats, then Load and watch it return. Undo an attack to restore health and the same random result. Protected activities pause ordinary enemy encounters; this combat button lets enemies respond.

See the Activities guide for all setup choices.