Okay so I've looked through lots of ArcEmu guides & manuals and a lot of them say a value of 11 in the Invisibility_type column makes an NPC only viewable by GMs. However I am a GM & I cannot see these NPCs. GM turned on or off, invisibility on or off, even tried adding a few Invisibility Detection spells from wowhead on my character, still nothing. I know the npc is there after I spawn him, because I can .npc select closest & delete them...
Is there a better/easier/better known way to create NPCs that are only viewable by GMs? I tried writing an LUA script to make the NPC cast Uber Stealth on spawn, but it's not working...
Code:
function NPC_OnSpawn(Unit, Event)
Unit:CastSpell(10032)
end
RegisterUnitEvent(50, 6, "NPC_OnSpawn")
I've tried adding it in ai_agents, but I don't know what to put in the event column to make him cast it out of combat.
I restarted the server in between trying all these methods and deleted my cache before reopening WoW...
I am lost as how to do this...