.Lua portal problem menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .Lua portal problem

    Hello, ive been trying to make some .lua ports but they wont load.. Here are the scripts and the error: Please help



    and

    Last edited by Kiev; 01-12-2008 at 10:10 AM. Reason: Bump?

    .Lua portal problem
  2. #2
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Take the spaces out of the function names. Should look similiar to this:

    Code:
    function TeleportEmerald (pUnit, Event, pMisc)
    pMisc:Teleport (169, 2732.93, -3319.63, 102.284, 0.8312)
    end
    RegisterGameObjectEvent (4000000, 2, "TeleportEmerald")
    Hope it helps.

  3. #3
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    kk ty, just gonna try that now

  4. #4
    Performer's Avatar Contributor
    Reputation
    212
    Join Date
    Nov 2007
    Posts
    874
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try This,

    Code:
    function Portal_To_Stormwind (pUnit, Event, pMisc)
    pMisc:Teleport (0, -8193.23, 554.63, 93.79)
    end
    
    function Portal_To_Ironforge (pUnit, Event, pMisc)
    pMisc:Teleport (0, -4976.66, -885.92, 501.64)
    end
    
    function Portal_To_Darnassus (pUnit, Event, pMisc)
    pMisc:Teleport (1, 9946.37, 2613.14, 1316.23)
    end
    
    function Portal_To_Exodar (pUnit, Event, pMisc)
    pMisc:Teleport (530, -3998.91, -11869.04, -0.42)
    end
    
    RegisterGameObjectEvent (400023, 2, "Portal_To_Stormwind")
    RegisterGameObjectEvent (400024, 2, "Portal_To_Ironforge")
    RegisterGameObjectEvent (400025, 2, "Portal_To_Darnassus")
    RegisterGameObjectEvent (5000001, 2, "Portal_To_Exodar")


Similar Threads

  1. [Guide] LUA Portals
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 83
    Last Post: 08-27-2008, 11:17 PM
  2. [Help] One stop shop, Lua portal shop :)
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 02-06-2008, 03:49 PM
  3. Lua scripts problem
    By Mr.Ice.Cold in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 02-02-2008, 11:44 AM
  4. help .lua portal
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 01-26-2008, 11:14 AM
  5. help .lua portal help
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 01-24-2008, 03:21 PM
All times are GMT -5. The time now is 04:12 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search