Hello,
I have this script:
Is it possible to check if pos is not for example mountain or there is no player/monster etc end then create monster?
Becasue I have a lot of errors:
Thanks in advance!
I have this script:
Code:
local pos = {x=xTable[math.random(#xTable)], y=yTable[math.random(#yTable)], z=7}
doCreateMonster('Hydra', pos, false, false)
Is it possible to check if pos is not for example mountain or there is no player/monster etc end then create monster?
Becasue I have a lot of errors:
Code:
(LuaInterface::luaDoCreateMonster) Cannot create monster: Hydra
Thanks in advance!