docs-en:game_event_npcflag.md

game_event_npcflag

<-Back-to:World

The `game_event_npcflag` table

This table contains npcflags that are to be added to an NPC when the specified event is active for the creature with the given guid.

Structure

Field Type Attributes Key Null Default Extra Comment
eventEntry TINYINT UNSIGNED PRI NO Entry of the game event
guid MEDIUMINT UNSIGNED PRI NO 0
npcflag INT UNSIGNED NO 0

Description of the fields

The eventEntry that is tied to this npcflag change.

The guid of the creature that you want to change npcflag for.

The npcflags that you want to set. The value specified here is bitwise added to the npcflag already set on the NPC.

So, if you want the creature to be also a quest giver, just put 2 in this column.

  • docs-en/game_event_npcflag.md.txt
  • 最后更改: 2024/03/15 19:08
  • 127.0.0.1