Apparently wpt.x,z,y also work the same way. Although being on the 9th floor, they think I'm on the 8th. Maybe this is caused by me standing on 3 parcels/pots? Maybe thats the problem/bug?
Just made a seperate action
And it says blabla while on floor 9, while on any othr it doesn't. So I still think that the bot reads the coordinations of the wpt it was made on...
if wpt.z == 9 then
Using this 1 now:
It goes to the spot, checks if not on it, if not then back to wptx, otherwise it tried walking east. Then it walks down, and doesn't matter if it walked down and its on floor 9 or not, it always uses levitate. So I end up going down, then puffing 1x without any sense on every action like this. Then it goes on to next wpt as intended. The only thing not working is checking position...
if not islocation() then
if wpt.z == 8 then
elseif wpt.z == 9 then