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

onKill function

Curry McFlurry

New Member
Joined
Dec 16, 2007
Messages
7
Reaction score
0
Is there some way to kill a monster and when that monster dies a bit of the wall disappear like it opens a path towards the next part of the cave?
 
if getcreaturename(target) == "This Specific Monster" then
doremoveitem(getthingfrompos(wallpos).uid)
end

something like that, find the functions that will work with your server.
wallpos is normally something like {x=1337, y=123, x=7, stackpos=1}
 
Back
Top