Author Topic: Moving the ego without intervention  (Read 4728 times)

0 Members and 1 Guest are viewing this topic.

Moogle789

  • Guest
Moving the ego without intervention
« 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*



Offline Eigen

Re:Moving the ego without intervention
« Reply #1 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
Artificial Intelligence Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.055 seconds with 21 queries.