• 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!

Lua Problems in GetTileInfo

arthurluna

Member
Joined
Apr 12, 2008
Messages
178
Reaction score
12
GetTileInfo problems, I'm making a script that does not create a monster in a PZ field and houses also, I'm using source The Forgotten Server 0.3.6 (Crying Damson) code can anyone help?
 
I want monsters created not in PZ field or in houses, I am using these functions, most are in error

[1/12/2013 15:32:49] [Error - GlobalEvent Interface]
[1/12/2013 15:32:49] In a timer event called from:
[1/12/2013 15:32:49] data/globalevents/scripts/Raids/Raids.lua:eek:nThink
[1/12/2013 15:32:49] Description:
[1/12/2013 15:32:49] (luaDoCreateMonster) Cannot create monster: pirate cutthroat
[1/12/2013 15:32:49] [Warning - Npc::createNpc] Cannot find npc with name: pirate cutthroat.



if(getTilePzInfo(tile) == true) then
return false
end

OR

if(getTileInfo(tile) == true) then
return false
end
 
Back
Top