The Daily Click ::. Forums ::. Klik Coding Help ::. Pathfinder Object Without Using Iso!
 

Post Reply  Post Oekaki 
 

Posted By Message

Tina Petersen



Registered
  19/09/2003
Points
  350
28th May, 2004 at 07:29:02 -

it doesnt seem like i can use the Pathfinder Object Without isometric object. Why
with an isogrid my code works fine
but as soon i just use normal x,y cordinates. The pathfinder just return 0,0 for the steps

Anyone got some insight on this!

Heres a link to the cca (1.5)
http://warthog.servegame.com/bleh.zip

 
- Eternal Life, Or Your Money Back -
http://www.befun.dk/
Currently looking for a home (team)

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
28th May, 2004 at 07:46:07 -

I haven't the time to test this, but looks like your mouse coordinates stuff is screwed up. Note: MMF's default mouse detection thing DOES NOT WORK. In other words, don't use XMouse, YMouse. Get some active object with mouse movement and use it's X and Y values instead.

Or you can get one of those mouse controlling extensions. Hope I didn't make things worse .


EDIT: No, wait, the problem's with the pathfinder object. Strange, it seems like it's been... disabled. Doesn't work at all. You sure that you're not supposed to turn on the extension or something first?

Image Edited by the Author.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
28th May, 2004 at 12:20:22 -

The Pathfinding object doesn't work on x,y coordinates, it's grid positions. If your grid isn't 640x480, you can't use mouse positions...

If you're working with a topdown grid, divide the X/Y coordinates by the cell width/height. It should work then.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click