Could I suggest Self.Stand(x,y,z) or Self.MoveTo(x,y,z). For example,
lua code:
if Map.IsTileWalkable(11, 22, 3) then
Self.Stand(11, 22, 3)
else Self.MoveTo(44, 55, 3)
end
Thanks,
O4T
Could I suggest Self.Stand(x,y,z) or Self.MoveTo(x,y,z). For example,
lua code:
if Map.IsTileWalkable(11, 22, 3) then
Self.Stand(11, 22, 3)
else Self.MoveTo(44, 55, 3)
end
Thanks,
O4T