diff options
| author | Rochet2 <rochet2@post.com> | 2018-10-28 11:07:56 +0200 |
|---|---|---|
| committer | Giacomo Pozzoni <giacomopoz@gmail.com> | 2018-10-28 10:07:56 +0100 |
| commit | 257ae44a20ed40469dd821845de8e27c0af838c7 (patch) | |
| tree | 0286f3286646fee2857d8dae44ae9882aa7589c0 /sql | |
| parent | 9bf69b3849a9d78f3e8d174ed6367a259aaf876f (diff) | |
Add rotation to .gob info (#22723)
* Add rotation to .gob info
- Add rotation (yaw, pitch, roll) to .gob info command
- Replace LANG_SPAWNINFO_DISTANCEFROMPLAYER with LANG_SPAWNINFO_ROTATION
- Fix description of .distance to describe the command arguments (the more you know..)
- Fix .gob info guid targetting nearest gameobject instead of finding with given guid
- Reorder the info data slightly
- Print location and rotation data regardless of object found in world
- Add error messages for when object is not found by guid or entry
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/3.3.5/2018_10_28_00_world.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2018_10_28_00_world.sql b/sql/updates/world/3.3.5/2018_10_28_00_world.sql new file mode 100644 index 00000000000..13c2f3a2e94 --- /dev/null +++ b/sql/updates/world/3.3.5/2018_10_28_00_world.sql @@ -0,0 +1,4 @@ +-- Describe distance command argument +UPDATE `command` SET `help`='Syntax: .distance [link]\r\n\r\nDisplay the distance from your character to the selected unit or given creature, player or gameobject.' WHERE `name`='distance'; +-- Repurpose existing trinity_string for rotation info string +UPDATE `trinity_string` SET `content_default`='yaw: %f pitch: %f roll: %f' WHERE `entry`=5074; |
