Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Stop all interaction while sound file plays  (Read 2255 times)

0 Members and 1 Guest are viewing this topic.

xportmedia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
    • View Profile
Stop all interaction while sound file plays
« 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
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Stop all interaction while sound file plays
« Reply #1 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.  
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.047 seconds with 24 queries.