| Name | npc stuck |
| Event Lines | npc stuck |
| Triggers | when an NPC's navigator is stuck. |
| Generated Examples | after npc stuck:
on npc stuck: |
| Has NPC | Always. |
| Switches | npc:<npc> to only process the event if the spawned NPC matches. |
| Contexts | <context.action> returns 'teleport' or 'none'
|
| Determine | "NONE" to do nothing.
"TELEPORT" to teleport. |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | NPC |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/npc/NPCStuckScriptEvent.java#L16 |