Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: xportmedia on June 17, 2010, 02:53:16 AM

Title: Stop all interaction while sound file plays
Post by: xportmedia on June 17, 2010, 02:53:16 AM
Hi there

I am trying to find a way to prevent a player moving while a voice file plays.  Can I stop all interaction?

I have tried:

Game.Interactive = false;
this.Talk("The door to my fathers study.  So many times had I returned here in my thoughts.","sounds/trackintro.ogg",8000);
trackopen = 1;
Game.Interactive = true;

But if you click on an entity you can return to a normal cursor.

Thanks for your help ;)

Paul
Title: Re: Stop all interaction while sound file plays
Post by: metamorphium on June 17, 2010, 12:33:35 PM
I'd use automated voiceover playing rather than explicit time specification.

Code: WME Script
  1.  
  2. Game.Interactive = false;
  3. actor.Reset();
  4. this.Talk("/line0001/The door to my fathers study.  So many times had I returned here in my thoughts");
  5.  
  6.