Actor Movements for Newbie

The Ultimo Olleh!

I have only just started getting into developing a game in SCI. I started doing it in AGI and then moved over to SCI and began from scratch.

I just completed doing the tutorial to get through stuff I need to know, and my problem is with actor movements. I have noticed that the actor goes to the first destination you asign him along the dPath, every time you click on a place to move or move with the keypad.

Is there anyone who could help me with this. I just want the character to move along and not keep turning back.

I would appreciate it.

- The Ultimo
juncmodule If you could post the code your using I might be able to help you. I've never had that problem though...even though I've used DPath before...

-junc
The Ultimo Heres the code:

(aMan:
init()
setCycle(Walk)
setMotion(
DPath
45 85
120 140
250 155
315 155
)
)
)

I don't know what could be wrong, as it is basically the coding from the tutorial, just with my own coordinates.

- The Ultimo
juncmodule Can't say I understand why that isn't working. In your example you posted you do have one extra brace at the end though. Perhaps you are catching part of something else in that. I tried to figure it out last night. I couldn't duplicate what you were talking about but, I did have problems getting my actor to follow the right path!?

Does anyone know of any bugs or tricks that have to be done for DPath to work right?

-junc
fck Same here! Could not find an error. Did you resolve the problem yet? Here is my code which works fine on my PC

/*************************************
* Add the rest of your initialization stuff here *
*************************************/
(aMan:
init()
setCycle(Walk)
setMotion(
DPath
45 85
120 140
250 155
315 155 )
)//aMan
)//init
)//instance
/************************************/
(instance aMan of Act
(properties
x 300
y 50
view 200
)//properties
)//instance
/************************************/
The Ultimo Olleh!

Thanks for the help guys. Unfortunately, I couldn't get the code to work for the movement, so i am concentrating on other parts of the game i'm making at the moment.

When I come back to the Dpath movements, i'm just gonna start the code from scratch, in case it was something that I did wrong.

- The Ultimo
RJD I have had the same problem. What room where you trying to use DPath in. I tried it in the TitileScreen. I
THINK it said something like "Whats DPath" (Thats in my words, I don't remember what it really said). >:(
The Ultimo I was doing the Dpath on rm001. As I wrote, the actor continues to go to the first coordinates you set, every time you move.

So, say he begins. He makes it to the last spot and then you move. He will go to the first coordinates and get stuck somewhere if anything is in the way.

I also founf out that it was doing it straight from the Tutorial as well. I re-did the tutorial and it stuffed up still. So has anyone got Dpath to work?
RJD Ill keep trying, but most often it doesn't even compile for me. >:(