[Guide] Making portals that stay forever using LUA. menu

User Tag List

Results 1 to 10 of 10
  1. #1
    Jackie Moon's Avatar Elite User
    Reputation
    407
    Join Date
    May 2008
    Posts
    922
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide] Making portals that stay forever using LUA.

    STEP 1

    Open up a notepad and copy this into it

    function Base_H (pUnit, Event, pMisc)
    pMisc:Teleport (MapId,X,Y,Z)
    end
    RegisterGameObjectEvent (EntryID,2,"Base_H")

    Open your Ascent and look for Scripts file and save it as

    Teleport1.LUA (or what you want it to be)

    MAKE sure you put .LUA!

    Go ingame to where you want to teleport to and type the command .gps
    In:

    function Base_H (pUnit, Event, pMisc)
    pMisc:Teleport (MapID,X,Y,Z)
    end
    RegisterGameObjectEvent (EntryID,2,"Base_H")

    Change the Bold Letters to what the .gps came up as it's pretty easy.

    Make sure the Bold letters are the same or it won't work. For each portal the name must be different

    function Base_H (pUnit, Event, pMisc)
    pMisc:Teleport (X,Y,Z)
    end
    RegisterGameObjectEvent (EntryID,2"Base_H")

    STEP 2 Spawning a Portal

    Open up MySQL or whatever your using and open

    gameobject_names

    Open a New one and change it to

    (LUAentryID,4,DisplayID,Name,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)

    Now start up your realm and go to the area you want to spawn it

    Type .go spawn (entryID) 1 (keep the 1 on the end)

    If your having troubles post what you have done
    Last edited by Jackie Moon; 06-13-2008 at 01:25 PM.

    [Guide] Making portals that stay forever using LUA.
  2. #2
    Jackie Moon's Avatar Elite User
    Reputation
    407
    Join Date
    May 2008
    Posts
    922
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    103 views no replies....

  3. #3
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's not staying beacuse you are using lua.

    To make a gameobject stay in the place, you must "Perma" spawn it. And you don't need to go into gameobject_spawns to make this.

    When you spawn your gameobject, put a 1 in the end like this
    Code:
    .go spawn 5938 1
    And now it won't go away when you restart


    And why no one replies on this is beacuse there are houndreds of lua portal guides out there.

  4. #4
    Jackie Moon's Avatar Elite User
    Reputation
    407
    Join Date
    May 2008
    Posts
    922
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah ok that's how i done it because i could never get them to stay but it still works

  5. #5
    project anthrax's Avatar Contributor
    Reputation
    180
    Join Date
    Nov 2007
    Posts
    993
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol all you need is sipex
    removed by Unholy

  6. #6
    Jackie Moon's Avatar Elite User
    Reputation
    407
    Join Date
    May 2008
    Posts
    922
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what the hell is that?!?!?!

    WOOT 4 REP

  7. #7
    Jackie Moon's Avatar Elite User
    Reputation
    407
    Join Date
    May 2008
    Posts
    922
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I edited the guide

  8. #8
    colincancer's Avatar Active Member
    Reputation
    63
    Join Date
    Dec 2007
    Posts
    509
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rofl repost alot, when i get time ill post a link, and yeah all you need is sipex, its wayayayayayayayaya easier lol.
    #JODYS'WATCHiN

  9. #9
    fraggerman's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What must i fill in pUnit, Event and pMisc?

  10. #10
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nothing, it should stand like that

Similar Threads

  1. [Guide] How to make a NPC cast spells. NO LUA!
    By Power of Illuminati in forum WoW EMU Guides & Tutorials
    Replies: 52
    Last Post: 05-06-2011, 07:13 AM
  2. Replies: 12
    Last Post: 03-20-2010, 06:07 PM
  3. [Guide] Making Portals to anywhere and spawn them! easy for beginners!
    By Jackie Moon in forum WoW EMU Guides & Tutorials
    Replies: 17
    Last Post: 07-12-2008, 10:11 AM
  4. [Guide] Make a Portal in C++
    By mager1794 in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 07-06-2008, 10:40 PM
  5. Making portal in Lua
    By sk8 punk 2.5 in forum WoW EMU Guides & Tutorials
    Replies: 7
    Last Post: 06-13-2008, 01:31 AM
All times are GMT -5. The time now is 05:38 PM. 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