NPCs
The NPCs plugin handles non-player characters: defining NPC entries with death triggers, setting up interactable NPCs with interaction menus, spawning NPCs in configurable areas with weighted selection, and integrating with the Quests plugin for quest-giving and turn-in interactions. It also provides interactable objects for non-NPC interactables like chests, levers, and doors.
In the Spark Editor, the NPCs plugin is organized into these categories:
NPC entries with on-death triggers and player participation; NPCEntity setup; NPC Spawner with spawn shapes, validation, weighted NPC selection, respawn timers, and limits
Interaction entries with types (Trigger, Give Quest, Turn In Quest); InteractableNPCEntity setup with indicator distances, cursor, and interaction lists; InteractableObjectEntity for non-NPC objects; NPC Interaction Panel UI
Last updated
Was this helpful?
