Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / very strange problem!

Author
Message
Olympic
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location:
Posted: 23rd Aug 2004 10:15 Edited at: 23rd Aug 2004 10:16
I place the monster into the game, and let it move to get the nearest target, after that I caculate the shortest path to the other target and get all the waypoint which the monster should pass! but the monster just go to the first nearest target when he was first placed into the map and he didnot move to new target!

the map like this

The monster will be placed on one of the 4 corners randomly

I think I probably make mistakes when I move the monster to his first nearest target,even it does move to the target but the code is strange


For exmaple, if I got the waypoint from leftup target to center target,

if 29=leftup target, 33=center target, and from 29 to 33, it need to go 30,31,32,three waypoints, I know all the coordinates of them.

how to move the monster from one point to the other point and draw the line in the radar at same time until he get the center target?

I think I even donot know how to move a object! Damn!

Login to post a reply

Server time is: 2024-11-27 07:25:44
Your offset time is: 2024-11-27 07:25:44