I'm trying to use 'getThingFromPos', however, the result doesn't work as I want it to work .
I got it working properly after some ages puzzeling around, but now I've got a problem I don't know the 'cause' of.
I'm using 'getThingFromPos' on some position with a floor and a wall. If I use getItemName on the found thing from getThingFromPos, I always get the name of the floor, and I want the name (uid) of the wall.
Let's say, the most upper thing on the tile.
I messed around with stackpos, but that didn't help a lot.
Any suggestions?
I got it working properly after some ages puzzeling around, but now I've got a problem I don't know the 'cause' of.
I'm using 'getThingFromPos' on some position with a floor and a wall. If I use getItemName on the found thing from getThingFromPos, I always get the name of the floor, and I want the name (uid) of the wall.
Let's say, the most upper thing on the tile.
I messed around with stackpos, but that didn't help a lot.
Any suggestions?