maroundrune(runename, creature amount, monsters)?
This could check if there are creature in the rune area ?
maroundrune(runename, creature amount, monsters)?
This could check if there are creature in the rune area ?
Last edited by RoxZin xD; 02-20-2015 at 01:32 PM.
@BDL use getarearunetile(), it already exists. Pass two parameters, true or false on the first one to ignore players or not, and the second one with the monsters you wish to hit.
like @RoxZin xD said...
Exemple:
function:
getarearunetile ( bool countplayers , optional string name1 , optional string name2, ... )
auto(200, 400)
local pos = getarearunetile(false, "Dragon", "Dragon Lord") -- false for Optional Pvp, true for Retro Pvp
if pos.amount >= 3 then
pausewalking(500)
useitemon("Avalanche Rune", 0, pos.tile) waitping(1, 2)
end
Documentation
or shootarearune
shootarearune(id, amount, ignoreplayers, ...)
Latest Scripts: Ultimate Dawnport FACC Spots Souleater Tunnels Useful Lua: