1
0
EQ2Emu/docs/lua_functions/ClearRunback.md
2025-05-28 21:48:33 -04:00

16 lines
467 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Function: ClearRunback(NPC)
**Description:** Stops the NPC from trying to return to its “runback” point (the spot it was originally at or a designated safe point). Often used when you want to stop an NPC from automatically fleeing back or resetting.
**Parameters:**
`NPC`: Spawn The NPC to clear runback for.
**Returns:** None.
**Example:**
```lua
-- Example usage (prevent an NPC from running back to spawn point after combat)
ClearRunback(NPC)
```