Community

AGI Programming => Mega Tokyo AGI Archive => Topic started by: lildude2022002 on November 25, 2001, 11:55:24 AM

Title: Almost like a movie
Post by: lildude2022002 on November 25, 2001, 11:55:24 AM
How can I get the player to stop controlling his character at a certain time and then let other things  happen almost like a movie???

Any Help would be...helpfull.
Thx
Title: Re: Almost like a movie
Post by: Chris Cromer on November 25, 2001, 12:03:23 PM
Use the command program.control(); this should stop the user from moving the ego.
Title: Re: Almost like a movie
Post by: ACiDiC74 on November 25, 2001, 04:30:24 PM
You'll probably also need some kind of counter variable, so everything doesn't happen at once.

for example:

v90 = 0;
Title: Re: Almost like a movie
Post by: Joel on November 25, 2001, 07:53:37 PM
You may also want to call prevent.input() so that the player can't type in any commands while the scene is running. Just don't forget to call accept.input() and player.control() when the scene is done.
Title: Re: Almost like a movie
Post by: Chris Cromer on November 25, 2001, 09:02:42 PM
You might also want to use the command

reset(menu_enabled);

unless you want them to use the menu during the movie.