Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 8 of 8

Thread: Portals

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

    Portals


    Register to remove this ad
    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



    › See More: Portals
    Last edited by *Alexz*; 06-08-08 at 11:21 AM.

  2. #2
    Scout
    Vashidu's Avatar
    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Rep Power
    16
    Reputation
    6
    heres the code for a queiry of the portal

    Code:
    INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')

    that should work if it dosent tell me and ill fix it
    Last edited by Vashidu; 05-08-08 at 08:46 PM.

  3. #3
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    18
    Reputation
    188
    very nice for both

  4. #4
    Founder
    Apple's Avatar
    Join Date
    Jul 2008
    Location
    HeaveN
    Posts
    15,916
    Post Thanks / Like
    Rep Power
    10
    Reputation
    295
    Nice +Rep b0th ; )





  5. #5
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    16
    Reputation
    33
    Quote Originally Posted by Vashidu View Post
    heres the code for a queiry of the portal

    Code:
    INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')
    that should work if it dosent tell me and ill fix it
    thx ill edit the min post

  6. #6
    Scout
    Vashidu's Avatar
    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Rep Power
    16
    Reputation
    6
    i messed up on that code i just realized that it needs to be like this

    Code:
    INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 2, displayid, 'name')
    i changed the type from 22 which uses teleportspells or sum stuff but type 2 dosent so change ur portals to type 2 which dosent need spells
    Last edited by Vashidu; 14-08-08 at 09:31 AM.
    Project Silvermoon Fundb Moderator
    [SIGPIC][/SIGPIC]

  7. #7
    Scout
    Synthetic's Avatar
    Join Date
    Aug 2008
    Posts
    25
    Post Thanks / Like
    Rep Power
    16
    Reputation
    13
    Very nice !!! for u vashidu and Alexz

  8. #8
    Sergeant
    Coldmrn's Avatar
    Join Date
    Aug 2008
    Location
    durban
    Posts
    91
    Post Thanks / Like
    Rep Power
    16
    Reputation
    25

    Register to remove this ad
    Very simple and old

    But thanks again.


    Please goto this site "http://wwww.bux.to/index.php" and refer me when signing up, i have got paid $5,000 to my PayPal account



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

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

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
  •  
All times are GMT -5. The time now is 09:54 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org