diff options
| author | Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> | 2019-04-16 21:08:25 +0200 |
|---|---|---|
| committer | Francesco Borzì <borzifrancesco@gmail.com> | 2019-04-16 21:08:25 +0200 |
| commit | 92100af85c3c97e2fdfdc57bd92e07478eed6e65 (patch) | |
| tree | 1960a461ac469091cfc0a4b316e1fbda55a442f3 /docs | |
| parent | 1eeb327c2ee4620cf90fc88c3cdd4307e53f496a (diff) | |
| download | wiki-92100af85c3c97e2fdfdc57bd92e07478eed6e65.tar.gz wiki-92100af85c3c97e2fdfdc57bd92e07478eed6e65.tar.bz2 wiki-92100af85c3c97e2fdfdc57bd92e07478eed6e65.zip | |
Documentation for the new script command SCRIPT_COMMAND_MOVEMENT (35) (#36)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/database-world.md | 1 | ||||
| -rw-r--r-- | docs/scripts.md | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/database-world.md b/docs/database-world.md index d9250c0..2bd2875 100644 --- a/docs/database-world.md +++ b/docs/database-world.md @@ -132,6 +132,7 @@ NOTE: the DB documentation is still a work in progress. We need your help to mak - [reputation_reward_rate](reputation_reward_rate.md) - [reputation_spillover_template](reputation_spillover_template.md) - [script_waypoint](script_waypoint.md) +- [scripts](scripts.md) - [skill_discovery_template](skill_discovery_template.md) - [skill_extra_item_template](skill_extra_item_template.md) - [skill_fishing_base_level](skill_fishing_base_level.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` |
