Boats and 'impassable positions'
-
RazorTongue
- New User
- Posts: 28
- Joined: Mon Apr 23, 2007 8:18 am
Boats and 'impassable positions'
Hi. I've checked existing topics, but without an answer for my problem, so I will describe whole situation.
I have boat, with mobile(s) in the corner of the map(whole map is filled with water and few islands) and the another map also filled with water and few islands. When player sails to the edge of the world, I move the boat with MoveObjectToRealm() with multi refence, to the valid position on the other map(I check standing ground, etc.).
Sometimes function MoveObjectToRealm() returns mysterious "Position indicated is impassable" error - I'd like to know exactly when this kind of error is returned, since there is no static or other shit in the destination position. I've thought that maybe destination was to close to the map edge, but I've put an 22 tile offset from the map border.
I have boat, with mobile(s) in the corner of the map(whole map is filled with water and few islands) and the another map also filled with water and few islands. When player sails to the edge of the world, I move the boat with MoveObjectToRealm() with multi refence, to the valid position on the other map(I check standing ground, etc.).
Sometimes function MoveObjectToRealm() returns mysterious "Position indicated is impassable" error - I'd like to know exactly when this kind of error is returned, since there is no static or other shit in the destination position. I've thought that maybe destination was to close to the map edge, but I've put an 22 tile offset from the map border.
Last edited by RazorTongue on Mon Apr 23, 2007 8:35 am, edited 1 time in total.
-
RazorTongue
- New User
- Posts: 28
- Joined: Mon Apr 23, 2007 8:18 am
Thanks for advice, but I receive the same error "Position indicated is impassable".
We've put water on the cave/GA/prison strip and we can sail there, but boat teleportation between maps fails(with above error message) in few places. My question is - in which situations object movement will fail with that messsage ? (With water everywhere[both maps] and constant offset from the border, I can sail along the border seeing that error, until I can get out from one of those erroneous areas)
We've put water on the cave/GA/prison strip and we can sail there, but boat teleportation between maps fails(with above error message) in few places. My question is - in which situations object movement will fail with that messsage ? (With water everywhere[both maps] and constant offset from the border, I can sail along the border seeing that error, until I can get out from one of those erroneous areas)
-
RazorTongue
- New User
- Posts: 28
- Joined: Mon Apr 23, 2007 8:18 am
-
RazorTongue
- New User
- Posts: 28
- Joined: Mon Apr 23, 2007 8:18 am
http://img376.imageshack.us/my.php?imag ... bugnx2.jpg
Here is the situation. Sometimes we get that kind of error. -85 is proper water level on our map and that 3 tiles difference does not matter(boat is properly placed on water level).
Here is the situation. Sometimes we get that kind of error. -85 is proper water level on our map and that 3 tiles difference does not matter(boat is properly placed on water level).
-
RazorTongue
- New User
- Posts: 28
- Joined: Mon Apr 23, 2007 8:18 am