Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

Field

Type

Attributes

Key

Null

Default

Extra

Comment

menu_id

smallint(6)

unsigned

PRI

NO

0

 

 

id

smallint(6)

unsigned

PRI

NO

0

 

 

option_icon

smallint(6)

unsigned

PRI

NO

0

 

 

option_text

text

signed

 

YES

NULL

 

 

option_id

tinyint(3)

unsigned

 

NO

0

 

 

npc_option_npcflag

int(10)

unsigned

 

NO

0

 

 

action_menu_id

mediumint(8)

unsigned

 

NO

0

 

 

action_poi_id

mediumint(8)

unsigned

 

NO

0

 

 

action_script_id

mediumint(8)

unsigned

 

NO

0

 

 

box_coded

tinyint(3)

unsigned

 

NO

0

 

 

box_money

int(11)

unsigned

 

NO

0

 

 

box_text

text

signed

 

YES

NULL

 

 

...

If you want a POI (point of interest) to display on the minimap (like how a city guard places a marker when you ask directions), this is the `entry` from Points_of_interest_tc2.

action_script_id

The ID from Scripts_tc2 if this gossip option has a script. Be sure that a script exists for a gossip_menu_option with an action_script_id, otherwise it will not be visible.

box_coded

If you want a box to display where you have to enter a code, this is the field you use. I have no clue how it works, will have to look at the code...

...