AzerothCore
Pages :

waypoints

<-Volver a:World

Tabla `waypoints`

Usada por SAI

Contiene datos de waypoints, permitiendo a las creatures moverse a ciertas coordenadas X, Y y Z. Consulta tambi茅n Waypoints-Information para informaci贸n general sobre waypoints.

Estructura

Field Type Attributes Key Null Default
entry MEDIUMINT UNSIGNED PRI NO 0
pointid MEDIUMINT UNSIGNED PRI NO 0
position_x FLOAT NO 0
position_y FLOAT NO 0
position_z FLOAT NO 0
orientation FLOAT YES NULL
point_comment text YES NULL

Descripci贸n de los campos

entry

ID de la ruta. La forma est谩ndar de asignar un ID es creature_template.entry * 100, pero aqu铆 se puede usar cualquier n煤mero aleatorio.

pointid

ID 煤nico para cada waypoint. Empieza en 1 y aumenta con cada waypoint.

position_x

La coordenada X del waypoint de destino.

position_y

La coordenada Y del waypoint de destino.

position_z

La coordenada Z del waypoint de destino.

orientation

point_comment

Comentario de texto.

Example Rows

entry pointid position_x position_y position_z point_comment
16208 1 6647.83 -6344.92 9.13345 Apothecary Enith point 1
16208 2 6657.92 -6345.96 15.3468 Apothecary Enith point 2

La creature con ID 16208 tendr谩 ahora 2 waypoints; primero se mover谩 al pointid 1, y cuando alcance la posici贸n XYZ, se mover谩 al pointid 2. El comentario ayuda a aclarar a qu茅 creature pertenece el ID.