Fork me on GitHub
Question about Factions and Flags.
Post: #1

Been wondering why does NPC's have different faction ID's of the same faction? For example Honor Hold Guards have 1666 (Honor Hold)while Field Commander Romus has 1671 (Honor Hold).

If I want to enable PVP Flag for an NPC it does not seem to work using UnitFlag=4096 on some faction ID's. In this case it works for the guards but not for Romus.

There's also another UnitFlag=8 which says "UNIT_FLAG_PVP_ATTACKABLE". What's the difference between 8 and 4096?

Should I change every npc to have the same faction id or is different faction id's necessary?

Post: #2
Faction - сompare flags:
[-] The following 1 user says Thank You to NeatElves for this post:
  â€¢ stavaren
Post: #3
(04-09-2017, 12:48 PM)NeatElves Wrote: Faction - сompare flags:

Thanks a bunch. I still dont get why I can enable PVP flag on some faction Id's and some not.

Possibly Related Threads...
Thread Author Replies Views Last Post
  SQL Question stavaren 0 467 04-03-2017, 02:59 PM
Last Post: stavaren
  [ALL] Question about forum rules. alysher 4 1,087 03-17-2017, 01:25 PM
Last Post: alysher
  Question about the database DaMadBot 5 1,837 08-01-2016, 05:22 PM
Last Post: DaMadBot
  [WOTLK] Question about expansions. DaMadBot 1 1,031 05-12-2016, 07:31 PM
Last Post: evil@wow
  [CLASSIC] Question about the SEND_GOSSIP_MENU method marshmillo 0 1,388 02-24-2015, 09:57 AM
Last Post: marshmillo
  [CLASSIC] The question of playerbot. arh1038 1 3,546 09-01-2014, 02:26 PM
Last Post: cala
  [WOTLK] Dungeon/Raid scripts & Question about custom scripts Blindguard 25 23,077 07-26-2014, 02:27 AM
Last Post: Castro
  [CLASSIC] Single Player Dungeon question cydher 9 12,746 06-12-2014, 01:23 PM
Last Post: cala
  Sql question pinzu 2 2,584 05-19-2014, 09:34 AM
Last Post: pinzu
  [CLASSIC] English / German Question ThunderScript 1 2,292 09-26-2013, 06:38 PM
Last Post: Schmoozerd

Forum Jump:

Users browsing this thread: 1 Guest(s)

Continued MaNGOS | Return to Top | | Lite (Archive) Mode | RSS Syndication