数据库:world数据库:scripts
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
数据库:world数据库:scripts [2023/10/03 23:42] – [OtherFields] admin | 数据库:world数据库:scripts [2023/10/03 23:44] (当前版本) – [OtherFields] admin | ||
---|---|---|---|
行 85: | 行 85: | ||
Depending on what command was used, the meaning and use for the following fields varies. | Depending on what command was used, the meaning and use for the following fields varies. | ||
- | * SCRIPT_COMMAND_TALK = 0 | + | |
* source: Creature. | * source: Creature. | ||
* target: any/Player (for whisper). | * target: any/Player (for whisper). | ||
* datalong: 0=say, 1=yell, 2=text emote, 3=boss emote, 4=whisper 5=boss whisper | * datalong: 0=say, 1=yell, 2=text emote, 3=boss emote, 4=whisper 5=boss whisper | ||
* dataint: reference to broadcast_text.id | * dataint: reference to broadcast_text.id | ||
- | * SCRIPT_COMMAND_EMOTE = 1 | + | |
* source or target: Creature. | * source or target: Creature. | ||
* datalong: The emote ID to play. | * datalong: The emote ID to play. | ||
* datalong2: If this value is > 0 the npc will play emote state rather than oneshot. | * datalong2: If this value is > 0 the npc will play emote state rather than oneshot. | ||
- | * SCRIPT_COMMAND_FIELD_SET = 2 | + | |
* source or target: Creature. | * source or target: Creature. | ||
* datalong: Index of the field. | * datalong: Index of the field. | ||
* datalong2: Value to place at the index. | * datalong2: Value to place at the index. | ||
- | * SCRIPT_COMMAND_MOVE_TO = 3 | + | |
* source: Creature. | * source: Creature. | ||
* datalong2: Length (in time) of the motion. | * datalong2: Length (in time) of the motion. | ||
行 104: | 行 104: | ||
* y: Y position to move to. | * y: Y position to move to. | ||
* z: Z position to move to. | * z: Z position to move to. | ||
- | * SCRIPT_COMMAND_FLAG_SET = 4 | + | |
* source or target: Creature. | * source or target: Creature. | ||
* datalong: Field index to be set. | * datalong: Field index to be set. | ||
* datalong2: Flag bit(s) to set. | * datalong2: Flag bit(s) to set. | ||
- | *SCRIPT_COMMAND_FLAG_REMOVE = 5 | + | * **SCRIPT_COMMAND_FLAG_REMOVE = 5** |
- | source or target: Creature. | + | |
- | datalong: Field index to be unset. | + | |
- | datalong2: Flag bit(s) to unset. | + | |
- | *SCRIPT_COMMAND_TELEPORT_TO = 6 | + | * **SCRIPT_COMMAND_TELEPORT_TO = 6** |
- | source or target: Player (datalong2 0) or Creature (datalong2 1). | + | |
- | datalong: Target Map ID. See Map.dbc | + | |
- | x: Teleport target x coordinate. | + | |
- | y: Teleport target y coordinate. | + | |
- | z: Teleport target z coordinate. | + | |
- | o: Teleport target orientation. | + | |
- | *SCRIPT_COMMAND_QUEST_EXPLORED = 7 | + | * **SCRIPT_COMMAND_QUEST_EXPLORED = 7** |
source or target: Player. | source or target: Player. | ||
target or source: WorldObject. | target or source: WorldObject. |
数据库/world数据库/scripts.1696347746.txt.gz · 最后更改: 2023/10/03 23:42 由 admin