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

17 lines
482 B
Markdown
Raw 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: SetSeeHide(Spawn, Enable)
**Description:** Toggles an NPCs ability to see hidden/stealthed entities on or off. “Hide” usually refers to stealth as opposed to magical invisibility.
**Parameters:**
`Spawn`: Spawn The NPC in question.
`Enable`: Boolean true to grant see-stealth; false to remove it.
**Returns:** None.
**Example:**
```lua
-- Example usage (guards become alert and can see stealth during an alarm event)
SetSeeHide(GuardNPC, true)
```