AzerothCore
Pages :

script_waypoint

<-返回至:World

script\_waypoint

此表包含由脚本化 AI(CreatureAI)驱动的生物所使用的路径点路径。它是 waypoint_data(供生物通过其 creature_addon 使用)和 waypoints(供 SmartAI 使用)的脚本化 AI 对应表。有关路径点的一般信息,另请参阅 路径点信息

表结构

Field Type Attributes Key Null Default
entry INT UNSIGNED PRI NO 0
pointid INT UNSIGNED PRI NO 0
location_x FLOAT NO 0
location_y FLOAT NO 0
location_z FLOAT NO 0
waittime INT UNSIGNED NO 0
point_comment TEXT YES NULL

字段说明

entry

此路径所属生物的 creature_template.entry。它与 pointid 共同构成主键。

pointid

此点在路径内的顺序编号,从 1 开始。它与 entry 共同构成主键。

location_x

路径点的 X 坐标。

location_y

路径点的 Y 坐标。

location_z

路径点的 Z 坐标。

waittime

生物在移动到下一个点之前,在此路径点等待的毫秒数。

point_comment

描述该路径点的可选自由文本注释。