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

onAddItem in special area

Tarielle

New Member
Joined
Nov 4, 2007
Messages
214
Reaction score
0
Location
Sweden
How do I make this script:
function onAddItem(moveitem, tileitem, position)
npos = {x=999, y=1002, z=8}
doSummonCreature("Rat", npos)
doRemoveItem(moveitem.uid)
end

To work with this:
local fromPos = {x=994, y=1001, z=8}
local toPos = {x=1005, y=1003, z=8}
? :<
 
Uhm, no.. Its AddItem. It works if I use it with actionid's all over the place... But I just want to save time by not putting a action id at every sqm :p
 
Back
Top