Jump to content

(BUG) NPC Database


Recommended Posts

hm i think the database is working as intend maybe it's just the product itself with a missing condition.

For a workaround you could register the movement events and replace the current moveto/onmovement with your desired npc but it's abit too much work.

I think you can also resolve the problem with a plugin which lookup the npc database & temporary blacklist the npc by its faction on Initialize():

        foreach (var obj in NpcDB.ListNpc)
        {
            if ((int) obj.Faction != ObjectManager.Me.Faction && obj.Faction != Npc.FactionType.Neutral)
            {
                wManagerSetting.AddBlackListNpcEntry(obj.Entry, true);
            }
        }

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...