Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Inserted link in the 'entry' description.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

mediumint(8)

unsigned

PRI

NO

0

 

 

faction

smallint(5)

unsigned

 

NO

0

 

 

flags

int(10)

unsigned

 

NO

0

 

 

mingold

mediumint(8)

unsigned

 

NO

0

 

 

maxgold

mediumint(8)

unsigned

 

NO

0

 

 

Description of the fields

entry

ID of the game object, from gameobject_template.entry. (WDB fields)

faction

Object's faction, if any. See FactionTemplate (Sniff fields)

flags

Flag

Name

Comments

1

0x00000001

GO_FLAG_IN_USE

Gameobject in use - Disables interaction while being animated

2

0x00000002

GO_FLAG_LOCKED

Makes the Gameobject Locked. Requires a key, spell, or event to be opened. "Locked" appears in tooltip

4

0x00000004

GO_FLAG_INTERACT_COND

Untargetable, cannot interact

8

0x00000008

GO_FLAG_TRANSPORT

Gameobject can transport (boat, elevator, car)

16

0x00000010

GO_FLAG_NOT_SELECTABLE

Not selectable (Not even in GM-mode)

32

0x00000020

GO_FLAG_NODESPAWN

Never despawns. Typical for gameobjects with on/off state (doors for example)

64

0x00000040

GO_FLAG_TRIGGERED

typically, summoned objects. Triggered by spell or other events

512

0x00000200

GO_FLAG_DAMAGED

Gameobject has been siege damaged

1024

0x00000400

GO_FLAG_DESTROYED

Gameobject has been destroyed

Sniff fields

mingold

Minimum money, in copper, that the gameobject can drop when accessed / used.

...