Page 1 of 1
Boats and 'impassable positions'
Posted: Mon Apr 23, 2007 8:33 am
by RazorTongue
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.
Posted: Mon Apr 23, 2007 8:35 am
by CWO
Try MoveObjectToLocation()
Posted: Mon Apr 23, 2007 8:37 am
by RazorTongue
Between maps ?
Posted: Mon Apr 23, 2007 9:30 am
by CWO
Yes. MoveObjectToRealm() was a placeholder until MoveObjectToLocation() was given the same function. It shows it in the documentation that MoveObjectToLocation() will also soon replace MoveObjectToRealm() along with of course MoveItemToLocation() and MoveCharacterToLocation().
Posted: Mon Apr 23, 2007 12:24 pm
by RazorTongue
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)
Posted: Mon Apr 23, 2007 11:23 pm
by FreeSoul
it will be good if someone will post some topic with all (i know impossible) error messages and explanation when, how, where, because of they are...
Hi razz long time no see... (last time on a boat drifting form one map to the second?)
Posted: Tue Apr 24, 2007 6:06 am
by CWO
Well, each function has its error messages documented in the documentation and almost all of them are self explanatory.
Posted: Tue Apr 24, 2007 6:26 am
by RazorTongue
FreeSoul wrote:Hi razz
Hi...
CWO wrote:almost all of them are self explanatory.
I am trying to ask developers what makes 'static-less' sea IMPASSABLE, becouse I don't know WHAT should be fixed. I just can't find nothing unusual in our water tiles.
Posted: Tue Apr 24, 2007 8:12 am
by MuadDib
Are these custom maps?
Is the land under that wat the right kind if the water is static?
Is that water the same Z level as the other water surrounding it?
How close to the edge of the map are you trying to use it?
Posted: Tue Apr 24, 2007 10:00 am
by FreeSoul
yes
correct water
the same Z
20 tiles?
Posted: Tue Apr 24, 2007 10:21 am
by RazorTongue
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).
Posted: Sat May 05, 2007 3:10 am
by RazorTongue
Any ideas? I can provide additional information, if you needed one...
Posted: Sat May 05, 2007 4:33 am
by MuadDib
try going 10 tiles farther in for your world wrap and see if that affects it any