enegue
23-02-09, 07:52 AM
(working) Taxi Acherus Scourge Gryphons
from: Heart of Acherus to: Death's Breach and back
from: Death's Breach to: Heart of Acherus
1. first - make SQL file from the line below, and import in world-database
(otherwise LUA script not work, when you right-click on Scourge Gryphon)
Taxi_Acherus_Gryphons.sql
UPDATE `creature_proto` SET `npcflags`=3 WHERE `entry` IN (29488,29501);
2. and second - make LUA file and put it in folder scripts (in ArcEmu the server)
Taxi-Gryphons.lua
function GryphonDown_OnGossip(Unit, Event, Player)
Unit:GossipCreateMenu(100, Player, 0)
Unit:GossipMenuAddItem(0, "Go Down to Death's Breach", 1, 0)
Unit:GossipSendMenu(Player)
end
function GryphonDown_OnSelect(Unit, Event, Player, MenuId, id, Code)
if (id == 1) then
Player:Teleport(609, 2430.61, -5730.25, 157.855)
Unit:GossipComplete(Player)
end
end
function GryphonUp_OnGossip(Unit, Event, Player)
Unit:GossipCreateMenu(100, Player, 0)
Unit:GossipMenuAddItem(0, "Go Up to Heart of Acherus", 1, 0)
Unit:GossipSendMenu(Player)
end
function GryphonUp_OnSelect(Unit, Event, Player, MenuId, id, Code)
if (id == 1) then
Player:Teleport(609, 2363.69, -5659.33, 382.270)
Unit:GossipComplete(Player)
end
end
RegisterUnitGossipEvent(29488, 1, "GryphonDown_OnGossip")
RegisterUnitGossipEvent(29501, 1, "GryphonUp_OnGossip")
RegisterUnitGossipEvent(29488, 2, "GryphonDown_OnSelect")
RegisterUnitGossipEvent(29501, 2, "GryphonUp_OnSelect")
Teleports only, not actual flight animation.
Credits to Everlast118 of ******* who copied it from Trap of ArcEmu
from: Heart of Acherus to: Death's Breach and back
from: Death's Breach to: Heart of Acherus
1. first - make SQL file from the line below, and import in world-database
(otherwise LUA script not work, when you right-click on Scourge Gryphon)
Taxi_Acherus_Gryphons.sql
UPDATE `creature_proto` SET `npcflags`=3 WHERE `entry` IN (29488,29501);
2. and second - make LUA file and put it in folder scripts (in ArcEmu the server)
Taxi-Gryphons.lua
function GryphonDown_OnGossip(Unit, Event, Player)
Unit:GossipCreateMenu(100, Player, 0)
Unit:GossipMenuAddItem(0, "Go Down to Death's Breach", 1, 0)
Unit:GossipSendMenu(Player)
end
function GryphonDown_OnSelect(Unit, Event, Player, MenuId, id, Code)
if (id == 1) then
Player:Teleport(609, 2430.61, -5730.25, 157.855)
Unit:GossipComplete(Player)
end
end
function GryphonUp_OnGossip(Unit, Event, Player)
Unit:GossipCreateMenu(100, Player, 0)
Unit:GossipMenuAddItem(0, "Go Up to Heart of Acherus", 1, 0)
Unit:GossipSendMenu(Player)
end
function GryphonUp_OnSelect(Unit, Event, Player, MenuId, id, Code)
if (id == 1) then
Player:Teleport(609, 2363.69, -5659.33, 382.270)
Unit:GossipComplete(Player)
end
end
RegisterUnitGossipEvent(29488, 1, "GryphonDown_OnGossip")
RegisterUnitGossipEvent(29501, 1, "GryphonUp_OnGossip")
RegisterUnitGossipEvent(29488, 2, "GryphonDown_OnSelect")
RegisterUnitGossipEvent(29501, 2, "GryphonUp_OnSelect")
Teleports only, not actual flight animation.
Credits to Everlast118 of ******* who copied it from Trap of ArcEmu