From 92100af85c3c97e2fdfdc57bd92e07478eed6e65 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Tue, 16 Apr 2019 21:08:25 +0200 Subject: Documentation for the new script command SCRIPT_COMMAND_MOVEMENT (35) (#36) --- docs/scripts.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/scripts.md') diff --git a/docs/scripts.md b/docs/scripts.md index d037d11..4a1bfce 100644 --- a/docs/scripts.md +++ b/docs/scripts.md @@ -241,6 +241,7 @@ The type of action performed by the script after [delay](#scripts-delay) seconds | 32 | MODEL | Sets creature model. | | 33 | CLOSE\_GOSSIP | Closes gossip window. This command is only used for Gossip Scripts. | | 34 | PLAYMOVIE | Plays movie. | +| 35 | MOVEMENT | Change movement type. | ### OtherFields @@ -429,6 +430,13 @@ Depending on what command was used, the meaning and use for the following fields - - source: Player. - datalong: movie ID. +\***SCRIPT\_COMMAND\_MOVEMENT = 35** + +- - source: Creature. + - datalong: MovementType. + - datalong2: MovementDistance (e.g. spawndist for MovementType 1). + - dataint: pathid (for MovementType 2, see [waypoint\_data.id](waypoint_data.md#id)). + ### guid `field-no-description|5` -- cgit