BekayPK
08-08-2017, 02:47 AM
Hey fellas.
Is there any LUA's out there that makes an alarm when there's a certain boss/creature on screen, for example Midnight Panther/UDC.
I tried this one:
local specialMonsters = {"midnight panther","undead cavebear"}
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
Module("Boss Alarm", function(self)
local c = Creature(Self.TargetID())
local useSpecial = c and table.find(specialMonsters, c:Name())
if useSpecial then
alert()
self: Delay(3000)
elseif not useSpecial then
self: Delay(3000)
end
end)
But it didn't work, I just saw a undead cavebear and it didn't ring or anything.
So please, if there's any1 who can help me I would be grateful, thanks in advance.
Is there any LUA's out there that makes an alarm when there's a certain boss/creature on screen, for example Midnight Panther/UDC.
I tried this one:
local specialMonsters = {"midnight panther","undead cavebear"}
-----------------------------------------------
-----------------------------------------------
-----------------------------------------------
Module("Boss Alarm", function(self)
local c = Creature(Self.TargetID())
local useSpecial = c and table.find(specialMonsters, c:Name())
if useSpecial then
alert()
self: Delay(3000)
elseif not useSpecial then
self: Delay(3000)
end
end)
But it didn't work, I just saw a undead cavebear and it didn't ring or anything.
So please, if there's any1 who can help me I would be grateful, thanks in advance.