• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

CheckPos.Creature

milbradt

New Member
Joined
Dec 25, 2011
Messages
177
Solutions
1
Reaction score
4
Code:
local here = {x=115,y=189,z=7}
local creature = getTopCreature(here).uid
if not isMonster(creature) then
        doCreateMonster("Wolf", here)
end


how do I create a monster, if the other is not in the position?
Ps: To not show error.

error script:
Code:
(luaDoCreateMonster) Cannot create monster: Wolf


-------------
another doubt
is there any function that pulls all containers?
or just creating a table?
 
Last edited:
Back
Top