Hey.
Hier biete ich eine LUA BattlegroundMaster
Zitat
local NPCID = NPCID
function BG_OnGossipTalk(pUnit, Event, player)
pUnit:GossipCreateMenu(1, player, 0)
pUnit:GossipMenuAddItem(1, "Kriegshymnenschlucht", 1, 0)
pUnit:GossipMenuAddItem(1, "Arathibecken", 2, 0)
pUnit:GossipMenuAddItem(1, "Auge des Sturms", 3, 0)
pUnit:GossipMenuAddItem(1, "Strand der Uralten", 4, 0)
pUnit:GossipMenuAddItem(1, "Alteractal", 5, 0)
pUnit:GossipMenuAddItem(1, "[Tschuess]", 6, 0)
pUnit:GossipSendMenu(player)
end
function BG_OnGossipSelect(pUnit, Event, id, intid, code, pMisc)
if(intid == 1) then
player:SendBattlegroundWindow(2)
player:GossipComplete()
end
if(intid == 2) then
player:SendBattlegroundWindow(3)
player:GossipComplete()
end
if(intid == 3) then
player:SendBattlegroundWindow(7)
player:GossipComplete()
end
if(intid == 4) then
player:SendBattlegroundWindow(9)
player:GossipComplete()
end
if(intd == 5) then
player:SendBattlegroundWindow(1)
player:GossipComplete()
end
if(intid == 6) then
player:GossipComplete()
end
end
RegisterUnitGossipEvent(NPCID, 1, "BG_OnGossipTalk")
RegisterUnitGossipEvent(NPCID, 2, "BG_OnGossipSelect")
Features:
+ Alle Bg´s Enthalten
+ Deutsch
Screen: Cooming soon
Script made by CroWn
MFG
CroWn