Author Topic: Almost like a movie  (Read 1464 times)

0 Members and 1 Guest are viewing this topic.

Offline lildude2022002

Almost like a movie
« 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
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »



Offline Chris Cromer

Re: Almost like a movie
« Reply #1 on: November 25, 2001, 12:03:23 PM »
Use the command program.control(); this should stop the user from moving the ego.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

ACiDiC74

  • Guest
Re: Almost like a movie
« Reply #2 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;
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »

Offline Joel

Re: Almost like a movie
« Reply #3 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.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »

Offline Chris Cromer

Re: Almost like a movie
« Reply #4 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.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)


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

Page created in 0.055 seconds with 22 queries.