Teleporting a player within a certain radius menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Saridormi's Avatar Contributor
    Reputation
    307
    Join Date
    Mar 2007
    Posts
    556
    Thanks G/R
    19/17
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Teleporting a player within a certain radius

    Hello everyone.

    I'm trying to create a script whereby if a player enters a certain radius of an NPC, it will teleport them to a certain location (x, y, z). I've been trying for several days now to make this work and I can't seem to work out why it's not helping.

    I'm using MaNGOSZero, which is the 1.12.1 version of WoW so I am unable to just hijack the teleport from Dalaran's guards.

    If anyone could help me out, that would be greatly appreciated.

    Thanks.


    Teleporting a player within a certain radius
  2. #2
    iWoW-Programming's Avatar Sergeant
    Reputation
    6
    Join Date
    Jan 2010
    Posts
    38
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    C++ only then?

  3. #3
    Saridormi's Avatar Contributor
    Reputation
    307
    Join Date
    Mar 2007
    Posts
    556
    Thanks G/R
    19/17
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by iWoW-Programming View Post
    C++ only then?
    Yes, MaNGOSZero doesn't have a Lua engine.


  4. #4
    Saridormi's Avatar Contributor
    Reputation
    307
    Join Date
    Mar 2007
    Posts
    556
    Thanks G/R
    19/17
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hate double posting to bump a thread but this is really important. Any help? Anyone?


  5. #5
    iWoW-Programming's Avatar Sergeant
    Reputation
    6
    Join Date
    Jan 2010
    Posts
    38
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would love to help but I am completely inexperienced with MaNGoS in all ways, I would only be able to give you these links, for an arcemu possible way to do this.

    Unit Commands - GetInRangePlayers()
    Teleport(map, x, y, z, o)

    With these two functions you could whip up a script for a creature that gets all in-range players (maybe every 1 second to reduce load, or possibly you could use hooks, which i am not experienced with) and teleports them to the set co-ordinates, there is probably a similar set of functions in the MaNGOS engine if you looked.

Similar Threads

  1. [HOT] Teleport Any Player
    By CelticMoon in forum WoW EMU Exploits & Bugs
    Replies: 9
    Last Post: 03-31-2015, 09:14 AM
  2. [Lua Script] Making the player face a certain direction
    By tyeeeee1 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 03-09-2012, 11:01 AM
  3. [ArcEmu][Lua] Select players within x amount of yards?
    By Pretzal in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 04-04-2010, 08:43 AM
  4. need a gameobject which teleports players to a base
    By controlsx2 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 05-22-2008, 05:38 AM
  5. A way to teleport my players to Horde Mall or to Ally Mall
    By Dajax in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 10-20-2007, 06:56 PM
All times are GMT -5. The time now is 09:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search