Ok well i need to get the stuff up (posting and stuff to get my stuff back like yeah im in lazy leachers wtf any lol
This is all done by me Illidan1 No 1 else
here is a guide how to make a Gameobject's Teleport u anywere with out useing a premade spell
u can also change the Location of the gameobject For diffrent Races and this is all done buy GM scripting here yeah go \/
Make sure u read all of these for it to work
Step 1: you need a Gameobject This is what u will have to do
Step 1 a : Open your Database and go to Gameobject_Names In there u will see the Following
Code:
entry Type DisplayID Name sound0 sound1 sound2 sound3 sound4 sound5 sound6 sound7 sound8 sound9 unknown1 unknown2 unknown3 unknown4 unknown5 unknown6 unknown7 unknown8 unknown9 unknown10 unknown11 unknown12 unknown13 unknown14
Ok all u will need to do for this is the
Code:
Entry, Type , DisplayID, and Name
Step 2 : In the Follow
Entry = The Spawn Id of your GameObject (Eg .go spawn (ID)
Type = The Type of Gameobject and this is going to be portal so the type will be 22
DisplayID = The Display ID of the Gameobject, Here is some Common Display ID \/
1327 = Summoning Portal
4393 = Darnassus
4396 = Stormwind
4394 = Ironforge
4398 = Undercity
4395 = Orgrimmar
4397 = Thunder Bluff
6956 = Silvermoon
6955 = Exodar
Name = The name of your Portal (Eg Portal to MAll, Portal to Arena) You should no
Ok now Once that is done u can leave all the other Things like Sound0 - 9 and unknow1 - 14 all at 0
here is an Easy Template for you
Code:
INSERT INTO `gameobject_names` (`entry`,`Type`,`DisplayID`,`Name`) VALUES ('Entry','Type','DisplayID','Name)
Step 3 : Make the GM Script U can use this Template down \/
Things in red u need to change
How to use the Template look down
Code:
global Event_Name=function(plr)
{
//alliance
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
return 1;
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
return 1;
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
return 1;
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
return 1;
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
}
//horde
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
}
if(plr.GetRace() == RaceID)
{
plr.Teleport(Map, x, y, z);
}
};
.RegisterGameObjectEvent(GameobjectID, 2, Event_Name);
Ok how to use the Template \/
Step 4 : All the things in red is the things u need to put in your self
Step 5 : Open a note Pad or Txt Document and Copy and Paste that Template into it and then start modifyign it with Steps below
Step 6 : Event_Name = That will be the name of your Event like if it is a portal to stormwind for Alliance and portal to Orgrimmar for Horde it can be Tele_Storm_Org Or what ever u are using it for
Step 7 : For RaceID u need to put the Id of the Race, Here is a list fo all the races \/
1 Human
2 Orc
3 Dwarf
4 Night Elf
5 Undead
6 Tauren
7 Gnome
8 Troll
10 Blood Elf
11 Draenis
Step 8 : now for the MapId is the Id of the Map here is soem common ones
0 = Eastern Kingdoms
1 = Kalimdor
530 = Outland
To find out what the Map Id is for a zone go to the zoen u wont your Port to eb and press .gps and it will come up With Map Id, Zone Id, x, y, z, 0 We will be using them later aswell
Step 9 : And well for x, y, z You can go to were you wont the protal to send that player when they click on it and press .gps and it will bring up info
MapID, ZoneID ,x ,y ,z
And in the MapID ,x ,y ,z Part of the Template put the Cords that came up
Step 10 : .RegisterGameObjectEvent(GameobjectID, 2, Event_Name); = the Spawn Id of your Gameobject u made in step 1 - 2
Step 11: .RegisterGameObjectEvent(GameobjectID, 2, Event_Name); = the same thign ass u put in at Step 6
Step 12 : Nameing it is the hard part well kind nto really Now when your done Modifyign it go to File > Save as > and put it as all Files and call it like (If your doing Stormwind for Alliance and Orgrimmar for Horde MaincityPort or somthign liek that but this si the thign once your Named it put a .gm
At the end of what u called it so if i called it Maincityport it woudl be Maincityport.gm
Step 13 : save it to your Desktop or some were u know were it is
Step 14 : Now were u Have to put it u must put it in your Server's Ascent scripts Folder i am using Ac web so it would be in the folder \/
C:\AC Web Ultimate Repack\Ascent\scripts
If u dont have a scripts folder make 1 and just put that Notepad in that Folder and then in your Ascent cmd box type
reloadscripts or in game type .reloadscripts or restart your server
and in game u spawn your Portal press .go spawn (ID u chose)
Thank you for readering i hope this giss me my Sig back adn stuff :wave: