From 257ae44a20ed40469dd821845de8e27c0af838c7 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sun, 28 Oct 2018 11:07:56 +0200 Subject: 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 --- sql/updates/world/3.3.5/2018_10_28_00_world.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/3.3.5/2018_10_28_00_world.sql (limited to 'sql') 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; -- cgit v1.2.3