Duplicate Enemy
What it does
Creates copies of the selected Enemy NPC. You can place the copies at a named spawn point or, when the spawn name is empty, around the selected enemy's current position.
Use it for controlled enemy waves or a one-time encounter escalation.
Required item compatibility
This effect is available only from an Enemy NPC. It does not create copies of a general NPC or other item type.
Setup
- Select the original Enemy NPC that should create the copies.
- Add Duplicate Enemy to the task state that should start the wave.
- Enter a spawn point name, or leave it empty to use the selected enemy's current position.
- Choose the number of copies and the random spawn radius.
- Test with the intended player count and replay path.
Settings
| Setting | What it means |
|---|---|
| Spawn Name | Name of an existing spawn point. Leave it empty to spawn around the selected enemy's current position. A non-empty name that does not match a spawn point produces no copies. |
| Enemy Count | Number of copies to create. The current control allows 1 through 20. |
| Random Spawn Radius | Random offset around the base spawn location. The current control allows 0 through 10. |
Tiny example
When a round begins, an original Enemy NPC runs Duplicate Enemy with Enemy Count set to 3 and a small random radius around an arena spawn point.
Test and troubleshoot
- Only the original selected enemy can create copies; created copies do not create further copies.
- Repeated task transitions can create another set of copies. Add a task-state guard or reset flow if the wave should happen only once.
- Start with a small count and radius. More active enemies can quickly make an encounter harder to test and run.
- Check the Spawn Name exactly. A missing named spawn point prevents the effect from creating copies.
