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

482 B
Raw Blame History

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:

-- Example usage (guards become alert and can see stealth during an alarm event)
SetSeeHide(GuardNPC, true)