The credits mod need help

Started by Candle, Sun 11/12/2005 20:37:58

Previous topic - Next topic

Candle

I want to go to a new room when the credits stop but I'm not sure how to do the coding as when I do

Code: ags

// script for Room: Player enters room (after fadein)
Credits[0].DefaultCreditFont=3;
   Credits[0].DefaultTitleFont=3;
   Credits[0].DefaultTitleColour=65000;
   Credits[0].DefaultCreditColour=15;
   Credits[0].Delay=1;

   Credits[0].AddTitle("Scripting by");
   Credits[0].AddCredit("SSH");
   Credits[0].AddImage(12, eCreditCentred, eCreditAlignBelow);
   Credits[0].AddTitle("Credit Module by");
   Credits[0].AddCredit("SSH again!");
   Credits[0].Run();
   character[EGO].ChangeRoom(1, 100, 50);

I get this error .

---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
is likely to be a scripting error and not a bug in AGS.
(ACI version 2.71.889)

in Credits (line 281)
from Credits (line 460)
from Credits (line 481)

Error: invalid overlay ID specified
Could someone help me with this .


Ashen

You've already asked this in the Credit Module thread, please don't cross post.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk