用户工具

站点工具


数据库:world数据库:waypoint_data

waypoint_data 表


<-返回:World 数据库

This table contains all the path data for creatures that use waypoints and waypoint scripts directly in their creature addon definition. See also Waypoints-Information for general information about waypoints.

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
idINTUNSIGNEDPRINO0
pointMEDIUMINTUNSIGNEDPRINO0
position_xFLOAT NO0
position_yFLOAT NO0
position_zFLOAT NO0
orientationFLOAT YESNULL
delayINTUNSIGNED NO0
move_typeINT NO0
actionINT NO0
action_chanceSMALLINT NO100
wpguidINTUNSIGNED NO0

字段说明


id

Unique ID for each 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

Unique point ID for each point in a path. Starts at 1 and increases with each path.

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

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

delay

Time to wait (in ms) between each point.

move_type

Walk0
Run1
Fly2

action

ID of the action to be performed. See waypoint_scripts.id.

action_chance

Percentage of action happening (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.

Example Rows

IdPointPointPosition_yPosition_zOrientationDelayMove_typeActionAction_chancewpguid
201601-4998-1167501657010000001000
201602-4958.38-1199.3450165900001000
数据库/world数据库/waypoint_data.txt · 最后更改: 2023/10/04 00:10 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki