character "stepto" towards x/y position?

For problems with creating games or for reporting bugs of the Tool.
User avatar
theswitch
PaC-DK Newby
Posts: 41
Joined: 11 Apr 2007, 15:50
Location: north of Toronto

character "stepto" towards x/y position?

Post: #75459 theswitch
02 Apr 2010, 08:34

instead of a character haveing a "walkto" command to a certain x/y position on the map, could their be a way to do a "stepto" to an x/y position on the map?

or another workaround for this?

this is for npc's that move around map useing "stepto" command to move to a specific area,

just to give you an idea, in my game this "stepto" command would happen at every movement of the player character wich is also moved this way but useing the arrow key controls, (wich work fine by the way)

User avatar
Lachi
An Adventure Creator
Posts: 316
Joined: 07 Aug 2008, 22:32

Post: #75461 Lachi
02 Apr 2010, 15:27

If I understand you problem right: here is just a simple version for what do
you want to go:

http://www.file-upload.net/download-2401031/catch-me.adz.html

(it´s for 320x240 pixels)

just look in the room-script

I hope it helps a little.
Image

User avatar
theswitch
PaC-DK Newby
Posts: 41
Joined: 11 Apr 2007, 15:50
Location: north of Toronto

Post: #75463 theswitch
02 Apr 2010, 16:18

Brilliant :banana:

now `ll see if I can get the red npc to walk around obsticles, I`ll try, thankyou for this,

if I can`t do what I want with pathfinding I can just use nodes with your code, haveing invisible characters for the npc to follow-stepto

again, thank you for this


Return to “Problems and Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest