1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("always","removeportal") function removeportal(x,y) local obj = math.max(objectat(x,y,22),objectat(x,y,23)) if obj > 0 then parse("killobject "..obj) end end
I would like to add a zone instead of just one tile for the portal remover zone.
For Example:
1
2
3
2
3
zone = { {8,6,12,10}, }
Could someone edit this for me, please?
Thanks in advance