Ego walks too fast if cEgo.Move is used (Solved)

Started by Volcan, Sat 17/11/2012 01:08:12

Previous topic - Next topic

Volcan

The player walks too fast if cEgo.Move is used. I'd like the ego would keep his speed.

Code: AGS

function oObject0_Interact()
{
 cEgo.Move(79, 183, eBlock);
 object[0].SetView(3, 0, 5);
 object[0].Animate(0,2, eOnce, eBlock);
 player.ChangeRoom(2, 160, 195);
}


I can't use SetWalkSpeed because the ego is moving.

WalkSpeedX and WalkSpeedY only show the ego's x and y speed.

Ghost

Do you have to use the move command? cEgo.Walk is normally used to have a character walk around.

Volcan


SMF spam blocked by CleanTalk