Onlykl
29-07-09, 06:03 AM
Ok so here is a C++ Teleporter with WOTLK Locations.
You need to make your own npc for this (im sure you can manage that)
And at the bottom of the script i have put "NPCID" and you replace it with the spawn ID of the NPC you made, Also, i am available to Compile this for arcemu if you can't compile.
Here's the script:
C++ pastebin - collaborative debugging tool (http://pastebin.com/f23bd2f48)
Here's the setup.cpp:
C++ pastebin - collaborative debugging tool (http://pastebin.com/f143f9773)
Here's the setup.h:
#ifndef INSTANCE_SCRIPTS_SETUP_H
#define INSTANCE_SCRIPTS_SETUP_H
void SetupGlobalNPC(ScriptMgr * mgr);
#endif
Credits
----------
Onlykl - for updated script and adding some things ;)
Mako - For original Script
You need to make your own npc for this (im sure you can manage that)
And at the bottom of the script i have put "NPCID" and you replace it with the spawn ID of the NPC you made, Also, i am available to Compile this for arcemu if you can't compile.
Here's the script:
C++ pastebin - collaborative debugging tool (http://pastebin.com/f23bd2f48)
Here's the setup.cpp:
C++ pastebin - collaborative debugging tool (http://pastebin.com/f143f9773)
Here's the setup.h:
#ifndef INSTANCE_SCRIPTS_SETUP_H
#define INSTANCE_SCRIPTS_SETUP_H
void SetupGlobalNPC(ScriptMgr * mgr);
#endif
Credits
----------
Onlykl - for updated script and adding some things ;)
Mako - For original Script