diff options
| author | Matan Shukry <matanshukry@gmail.com> | 2021-01-28 21:32:36 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-06 16:37:42 +0100 |
| commit | e93ef06b05c27c7c79b234e331a0d26aa956ba65 (patch) | |
| tree | d9373e3e61753bae38cff4436fdc1413de65993d /sql/updates | |
| parent | d1cae5c6a9aaace44f1c21c88fcf2dde2b6e2971 (diff) | |
Core/Commands: Implemented command to teleport character to npc
Closes #25870
(cherry picked from commit d2be584f99a63a165cfd1d047f460a8ebfb87ac3)
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql b/sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql new file mode 100644 index 00000000000..60ed2b34c59 --- /dev/null +++ b/sql/updates/world/master/2022_03_06_07_world_2021_01_28_00_world.sql @@ -0,0 +1,11 @@ +DELETE FROM `command` WHERE `name` IN ('tele name npc id','tele name npc guid','tele name npc name'); +INSERT INTO `command` (`name`,`help`) VALUES +('tele name npc id','Syntax: .tele name id #playername #creatureId + +Teleport the given character to first found creature with id #creatureId. Character can be offline.'), +('tele name npc guid','Syntax: .tele name id #playername #creatureSpawnId + +Teleport the given character to creature with spawn id #creatureSpawnId. Character can be offline.'), +('tele name npc name','Syntax: .tele name id #playername #creatureName + +Teleport the given character to first found creature with name (must match exactly) #creatureName. Character can be offline.'); |
