mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Update '.gobject turn' command, now you have to specify 3 rotations to turn gameobject: rotation angles around z, y and x axes. Note to DB devs: use QuaternionCompressed::Unpack to extract rotations from the data that came with UPDATEFLAG_ROTATION.
6 lines
464 B
SQL
6 lines
464 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_11523_02_mangos_mangos_string required_11529_01_mangos_command bit;
|
|
|
|
DELETE FROM command WHERE name = 'gobject turn';
|
|
|
|
INSERT INTO command (name, security, help) VALUES
|
|
('gobject turn',2,'Syntax: .gobject turn #goguid [#z_angle]\r\n\r\nChanges gameobject #goguid orientation (rotates gameobject around z axis). Optional parameters are (#y_angle,#x_angle) values that represents rotation angles around y and x axes.');
|