Ir al final de los metadatos
Ir al inicio de los metadatos

Estás viendo una versión antigua de esta página. Ve a la versión actual.

Comparar con el actual Ver el historial de la página

« Anterior Versión 31 Siguiente »

Back-to:World

The `waypoint_data` table

This table contains all the path data for creatures that use waypoints.

Field

Type

Attributes

Key

Null

Default

Extra

Comment

id

int(10)

unsigned


NO

0


Creature GUID

point

mediumint(8)

unsigned


NO

0



position_x

float

signed


NO

0



position_y

float

signed


NO

0



position_z

float

signed


NO

0



orientation

float

signed


NO

0



delay

int(10)

unsigned


NO

0



move_type

tinyint(1)

signed


NO

0



action

int(11)

signed


NO

0



action_chance

smallint(3)

signed


NO

100



wpguid

int(11)

signed


NO

0



Description of the fields

id

ID of the path

The TDB standard way of assigning an ID is to multiply GUID of the creature by 10.

So for a creature with a GUID of 1234 the path ID would be 12340. Any waypoints submitted to TDB should follow this standard.

However, this is only a suggestion when creating your own waypoints. This ID can be anything you want as long as creature_addon.path_id is set to the ID you pick here for the creature you are creating a waypoint for.

point

ID of point of path

position

X, Y and Z coordinates of destination

orientation

The orientation of the creature. (North = 0.0; South = pi (3.14159))

delay

Time (in ms) between each point

move_type

0 - walk
1 - run
2 - flying

action

ID of the action in the waypoint_scripts table that is to be performed.

action_chance

Action chance in percents (0-100%)

wpguid

This field is used by the core and is NOT to be set by hand.

This field holds the GUID of the waypoint visual when you enable the visual mode for waypoints.

  • Sin etiquetas