k0s02

Untitled

Mar 7th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. class freakz_go_jubeka_mark : public GameObjectScript
  2. {
  3. public:
  4. freakz_go_jubeka_mark() : GameObjectScript("freakz_go_jubeka_mark") { }
  5.  
  6. bool OnGossipSelect(Player* player, GameObject* /*go*/, uint32 /*sender*/, uint32 /*action*/) override
  7. {
  8. ClearGossipMenuFor(player);
  9. player->RemoveFromGroup();
  10. player->Variables.Set("Scenario.ForcedScenarioID", 200);
  11. player->UnbindInstance(1112, DIFFICULTY_3_MAN_SCENARIO_N);
  12. player->TeleportTo(1112, 710.27f, 988.89f, 52.85f, 4.76f);
  13. return true;
  14. }
  15. };
Add Comment
Please, Sign In to add comment