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

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?

Thanks.
Reply
Post: #2
Faction - сompare flags:
https://github.com/cmangos/issues/wiki/F...mplate.dbc
[-] The following 1 user says Thank You to NeatElves for this post:
  â€¢ stavaren
Reply
Post: #3
(04-09-2017, 12:48 PM)NeatElves Wrote: Faction - сompare flags:
https://github.com/cmangos/issues/wiki/F...mplate.dbc

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  SQL Question stavaren 0 232 04-03-2017, 02:59 PM
Last Post: stavaren
  [ALL] Question about forum rules. alysher 4 482 03-17-2017, 01:25 PM
Last Post: alysher
  Question about the database DaMadBot 5 1,200 08-01-2016, 05:22 PM
Last Post: DaMadBot
  [WOTLK] Question about expansions. DaMadBot 1 716 05-12-2016, 07:31 PM
Last Post: evil@wow
  [CLASSIC] Question about the SEND_GOSSIP_MENU method marshmillo 0 1,155 02-24-2015, 09:57 AM
Last Post: marshmillo
  [CLASSIC] The question of playerbot. arh1038 1 3,261 09-01-2014, 02:26 PM
Last Post: cala
  [WOTLK] Dungeon/Raid scripts & Question about custom scripts Blindguard 25 20,663 07-26-2014, 02:27 AM
Last Post: Castro
  [CLASSIC] Single Player Dungeon question cydher 9 11,824 06-12-2014, 01:23 PM
Last Post: cala
  Sql question pinzu 2 2,234 05-19-2014, 09:34 AM
Last Post: pinzu
  [CLASSIC] English / German Question ThunderScript 1 2,018 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