diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2020-04-11 12:13:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-11 12:13:42 +0200 |
| commit | 867f5e91165ceedb4adc93ec7b556ce8421c6bbd (patch) | |
| tree | 9fc25f3c4d6c4810ebdcd3765fb877ebd18336e5 /docs | |
| parent | 7a943b4b6ad0328ba0a488b3781424761896c389 (diff) | |
| download | wiki-867f5e91165ceedb4adc93ec7b556ce8421c6bbd.tar.gz wiki-867f5e91165ceedb4adc93ec7b556ce8421c6bbd.tar.bz2 wiki-867f5e91165ceedb4adc93ec7b556ce8421c6bbd.zip | |
fix wander_distance (#204)
* Update creature.md
* update some more files :)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/GM-Commands.md | 2 | ||||
| -rw-r--r-- | docs/creature.md | 4 | ||||
| -rw-r--r-- | docs/creature_template.md | 10 | ||||
| -rw-r--r-- | docs/scripts.md | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/docs/GM-Commands.md b/docs/GM-Commands.md index df35136..763f612 100644 --- a/docs/GM-Commands.md +++ b/docs/GM-Commands.md @@ -463,7 +463,7 @@ Note: Some commands are working only by selecting a player or a creature. These |reload creature_text|3|Syntax: .reload creature_text Reload creature_text table.| |debug areatriggers|1|Syntax: .debug areatriggers Toggle debug mode for areatriggers. In debug mode GM will be notified if reaching an areatrigger| |learn all recipes|2|Syntax: .learn all recipes [$profession] Learns all recipes of specified profession and sets skill level to max. Example: .learn all recipes enchanting| -|npc set spawndist|2|Syntax: .npc set spawndist #dist Adjust spawndistance of selected creature to dist.| +|npc set wanderdistance|3|Syntax: .npc set wanderdistance #dist Adjust wanderdistance of selected creature to dist.| |npc set spawntime|2|Syntax: .npc set spawntime #time Adjust spawntime of selected creature to time.| |npc add temp|2|Syntax: .npc add temp Adds temporary NPC, not saved to database.| |npc textemote|1|Syntax: .npc textemote #emoteid Make the selected creature to do textemote with an emote of id #emoteid.| diff --git a/docs/creature.md b/docs/creature.md index 30c89c0..2344f38 100644 --- a/docs/creature.md +++ b/docs/creature.md @@ -149,7 +149,7 @@ Contains individual creature spawn data for each individual spawn of each indivi <td><p> </p></td> </tr> <tr class="even"> -<td><p><a href="#spawndist">spawndist</a></p></td> +<td><p><a href="#wander_distance">wander_distance</a></p></td> <td><p>float</p></td> <td><p>signed</p></td> <td><p> </p></td> @@ -337,7 +337,7 @@ The orientation of the creatures spawn point. (North = 0.0; South = pi (3.14159) The respawn time, in seconds, of the creature. -### spawndist +### wander_distance The maximum distance that the creature may spawn from its spawn point. Also controls how far away the creature can walk from its spawn point if its [MovementType](#creature-MovementType) = 1. diff --git a/docs/creature_template.md b/docs/creature_template.md index 7b9d2c6..758fb03 100644 --- a/docs/creature_template.md +++ b/docs/creature_template.md @@ -564,11 +564,11 @@ This field is overridden by ScriptName field if both are set. The creature's default movement type. -| ID | Type | -|----|---------------------------------------------| -| 0 | Idle; stay in one place | -| 1 | Random movement inside the spawndist radius | -| 2 | Waypoint movement | +| ID | Type | +|----|---------------------------------------------------| +| 0 | Idle; stay in one place | +| 1 | Random movement inside the wander_distance radius | +| 2 | Waypoint movement | #### InhabitType diff --git a/docs/scripts.md b/docs/scripts.md index 7193cde..f93bc84 100644 --- a/docs/scripts.md +++ b/docs/scripts.md @@ -275,7 +275,7 @@ Depending on what command was used, the meaning and use for the following fields - source: Creature. - datalong: MovementType. -- datalong2: MovementDistance (e.g. spawndist for MovementType 1). +- datalong2: MovementDistance (e.g. wander_distance for MovementType 1). - dataint: pathid (for MovementType 2, see [waypoint\_data.id](waypoint_data#id)). ### guid |
