用户工具

站点工具


数据库:world数据库:waypoints

waypoints 表


<-返回:World 数据库

Used by smart_scripts

Contains waypoint data, allowing creatures to move to certain X, Y, and Z coordinates. See also Waypoints-Information for general information about waypoints.

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
entryMEDIUMINTUNSIGNEDPRINO0
pointidMEDIUMINTUNSIGNEDPRINO0
position_xFLOAT NO0
position_yFLOAT NO0
position_zFLOAT NO0
orientationFLOAT YESNULL
point_commenttext YESNULL

字段说明


entry

Path ID. Standard way of assigning an ID is creature_template.entry * 100, but any random number can be used here.

pointid

Unique ID for each waypoint. Starts at 1 and increases with each waypoint.

position_x

The X coordinate of the destination waypoint.

position_y

The Y coordinate of the destination waypoint.

position_z

The Z coordinate of the destination waypoint.

orientation

point_comment

Text comment.

Example Rows

entrypointidposition_xposition_yposition_zpoint_comment
1620816647.83-6344.929.13345Apothecary Enith point 1
1620826657.92-6345.9615.3468Apothecary Enith point 2

Creature with ID 16208 will now have 2 waypoints, first it will move to pointid 1, when it reaches the XYZ position, it will move to pointid 2. The comment helps clarify which creature the ID belongs to.

数据库/world数据库/waypoints.txt · 最后更改: 2023/10/04 00:17 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki