Moving characters to Objects problem

Started by idiotbox, Fri 28/10/2005 00:43:53

Previous topic - Next topic

idiotbox

Okay, so I'm aware MoveCharactertoObject doesn't work. The manual says use character.Walk. Well, I've tried using:

character[BIL].Walk(oPic)
and there's not enough peramiters

character[BIL].Walk(oPic.x, oPic.y)
and that doesn't work either.

and also replaced oPic with object[0] but nothing is working. It may be a very easy answer but I can't figure it out. Can anyone help?

Janik

Perhaps you need to make the walk blocking, thus:

character[BIL].Walk(oPic.x, oPic.y, eBlock)
Play pen and paper D&D? Then try DM Genie - software for Dungeons and Dragons!

Ashen

The object X and Y properties are case-sensitive. Use:

cBil.Walk(oPic.X, oPic.Y);

(And, obviously, make sure there's a walkable area there.)
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk