Skipping Cutscene Problem

Started by MoodyBlues, Tue 30/12/2008 05:29:03

Previous topic - Next topic

MoodyBlues

Like I said, I can't skip my cutscene.

Here's what my intro looks like so far:

function runIntro()
{
   
  StartCutscene(eSkipESCOnly);
  cKiri.Transparency = 100;
  cEgo.Transparency = 100;
object[0].Visible = false;
dDialog1.Start();
StopDialog();
  cKiri.Transparency = 0;
  cEgo.Transparency = 0;
cKiri.ChangeRoom(3, 70, 171);
cEgo.ChangeRoom(3, 144, 180);

  EndCutscene();
}

And this code is called in dDialog1:

    else if (xvalue == 2) {
      Wait(80);

      object[0].Visible = true;
     
      Wait(160);
     
      object[0].Visible = false;
     
      Wait(80);

      }

However, when I press the esc key, I only skip the dialog lines.

I appreciate any help I can get with this problem.
Atapi - A Fantasy Adventure
Now available!: http://www.afwcon.org/

Khris

Like mentioned in the manual, Dialogs aren't started until after the function has finished.
Thus, you're effectively ending the cutscene before the dialog.
Since all other commands take more or less zero time to process, there really isn't anything to skip.

Does the dialog contain any actual choices? Because if it doesn't, use .Say lines instead and the cutscene including skipping will work fine.

MoodyBlues

Thanks!  Using .Say instead fixes the problem.
Atapi - A Fantasy Adventure
Now available!: http://www.afwcon.org/

SMF spam blocked by CleanTalk