MMOCoin

Likes Likes:  0
Results 1 to 8 of 8

Thread: Portals

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    18
    Reputation
    33

    Portals

    its a simple code (put it in notepad):

    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (Map ID, X cord, Y cord, Z cord)
    end
    RegisterGameObjectEvent (Object id, 2, 'Teleporting_onUse')

    then just save it as name.lua



    Insert this into your DB
    Code:
    INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')
    Credits to Vashidu for SQL Query
    Last edited by *Alexz*; 06-08-08 at 12:21 PM.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •