mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
527 B
527 B
Function: RemoveStealth(spawn)
Description: Remove stealth from the spawn.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: None.
Example:
-- From SpawnScripts/Caves/acuriousrock.lua
function casted_on(NPC, Spawn, Message)
if Message == "smash" then
SetAccessToEntityCommand(Spawn,NPC,"smash", 0)
SpawnSet(NPC, "show_command_icon", 0)
SpawnSet(NPC, "display_hand_icon", 0)
if IsStealthed(Spawn) then
-- RemoveStealth(NPC,Spawn)
end