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

17 lines
385 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: ClearHate(NPC, Hated)
**Description:** Removes the `Hated` target on the NPC's hate list.
**Parameters:**
`NPC`: Spawn The NPC whose hate list should be cleared.
`Hated`: Spawn The hated target that is to be removed from the hate list.
**Returns:** None.
**Example:**
```lua
-- Example usage (an NPC stops attacking/hating Target)
ClearHate(NPC, Target)
```