mikjail
08-23-2016, 08:13 PM
Hi, I'm trying to know if a certain position is walkable, this what I got:
elseif (labelName == "UseDoor1") then
print(Map.IsTileWalkable(32657, 31965, 8))
Walker.Stop() -- Ignore this line
I'm trying to make a conditional to check whether a door is open or not but when I print the (x, y, z) coordinates of the door it keep printing (0) even if the door is open why? it suppose to return true but always return (0)
elseif (labelName == "UseDoor1") then
print(Map.IsTileWalkable(32657, 31965, 8))
Walker.Stop() -- Ignore this line
I'm trying to make a conditional to check whether a door is open or not but when I print the (x, y, z) coordinates of the door it keep printing (0) even if the door is open why? it suppose to return true but always return (0)