mirror of
https://github.com/araxiaonline/ScourgeInvasion.git
synced 2026-06-13 03:02:21 -04:00
Create ScourgeInvasionAnnouncement.lua
This commit is contained in:
12
LUA/ScourgeInvasionAnnouncement.lua
Normal file
12
LUA/ScourgeInvasionAnnouncement.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local eventRegistered = false
|
||||
|
||||
local function SendWorldAnnouncement(eventid)
|
||||
if eventid == 17 then
|
||||
SendWorldMessage("The Lich King has sent forth his forces to attack the people of Azeroth. Be on your guard adventurers, the undead are EVERYWHERE!")
|
||||
end
|
||||
end
|
||||
|
||||
if not eventRegistered then
|
||||
RegisterServerEvent(17, SendWorldAnnouncement)
|
||||
eventRegistered = true
|
||||
end
|
||||
Reference in New Issue
Block a user