Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: Moogle789 on August 13, 2004, 02:16:15 PM

Title: Moving the ego without intervention
Post by: Moogle789 on August 13, 2004, 02:16:15 PM
Hello! I've got a little problem.

By using

(send gEgo:setMotion(MoveTo 100 193))

i let the ego walk to the specified point, but the player is still able to press a key while the ego is walking and control it.

how can i let the ego walk to a specified point and "pause" the rest of the game (controls) while it does so?

thanx! *moogle789*
Title: Re:Moving the ego without intervention
Post by: Eigen on August 14, 2004, 05:24:29 AM
Put

ProgramControl() before the (send gEgo:setMotiion... to prevent player from walking on it's own. And after it has reached the point, use PlayerControl()


-Eigen