Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Sylpher on Tue 24/06/2003 04:32:25

Title: RunAGSGame Global Int Problem.
Post by: Sylpher on Tue 24/06/2003 04:32:25
I have been toying with RunAGSGame and I can't seem to get it to preserve Global Ints. Code..

RunAGSGame("TEST2.ags", 1, 0);

I tried setting a few Global Ints just before the call to make sure it had someting to preserve but nope just crashes saying..

Error: RunAGSGame: Mode value unknown.

Setting the value to '0' works fine and dandy so am I doing something wrong or is AGS being dirty and rotten?
Title: Re:RunAGSGame Global Int Problem.
Post by: Scorpiorus on Tue 24/06/2003 18:04:15
Yep, the same for me. Also CJ, just to let you know, passign mode 2 doesn't crash: RunAGSGame("TEST2.ags", 2, 0). :P

ps Ags2.55

-Cheers
Title: Re:RunAGSGame Global Int Problem.
Post by: Pumaman on Tue 24/06/2003 21:50:23
Hmm, how strange - you're right, but this didn't happen originally when I was testing RunAGSGame. I'll look into it.