rendered paste body#include "StdAfx.h"
#include "Setup.h"
class OrbOfTransLocUC : public GameObjectAIScript
{
public:
OrbOfTransLocUC(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
pPlayer->SafeTeleport(530, 0, 10021.254883, -7014.893066, 49.717690, 4.00532);
}
static GameObjectAIScript *Create(GameObject * GO) { return new OrbOfTransLocUC(GO); }
};
GameObjectAIScript * create_go(GameObject * GO) { return new OrbOfTransLocUC(GO); }
class OrbOfTransLocSILVM : public GameObjectAIScript
{
public:
OrbOfTransLocSILVM(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
pPlayer->SafeTeleport(0, 0, 1805.823975, 334.009796, 70.397469, 4.724170);
}
static GameObjectAIScript *Create(GameObject * GO) { return new OrbOfTransLocSILVM(GO); }
};
GameObjectAIScript * create_go2(GameObject * GO) { return new OrbOfTransLocSILVM(GO); }
void SetupSCRIPTSLOL(ScriptMgr * mgr)
{
mgr->register_gameobject_script(184503, &OrbOfTransLocUC::Create);
mgr->register_gameobject_script(184502, &OrbOfTransLocSILVM::Create);
}