the new Battlestar Galactica is pretty awesome, although the last few episodes of the last season seemed a bit rushed.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: KhrisMUC on Wed 07/06/2006 01:09:16
To be specific:
In the iPod's player enters screen (before fadein):Code: ags SetGlobalInt(1, player.PreviousRoom);
In the "exit iPod" interaction:Code: ags player.ChangeRoom(GetGlobalInt(1));
player.ChangeRoom(player.PreviousRoom);
Quote from: Pumaman on Mon 05/06/2006 20:12:40Perhaps if there was a way you could open up the interaction editor coding via a COM plugin interface? So that the interaction editor actually created scripts with those script equivalent things and if you opened up that part of AGS it could free you from maintaining it. Or something?
Hmm, I'm really not sure what to do with the interaction editor. On the one hand it's a good introduction for newbies to the scripting system, but on the other hand it's a pain in the ass to maintain and I'm not sure whether it's really worth it. I'll have to have a think.
QuoteEDIT: I sent it to you via PM, but now I realise it was just a function calling itself via ProcessClick infinitely and overflowing the function call stack... but the error message could be friendlier.
Any chance you could upload a game that demonstrates the problem? I tried a similar function but was unable to get it to crash.
---------------------------
Illegal exception
---------------------------
An exception 0xC00000FD occured in ACWIN.EXE at EIP = 0x00448346 ; program pointer is +6, ACI version 2.72.913, gtags (1,11)
in Global script (line 193)
from Global script (line 1024)
String RemoveExtension(String name){
//removes the extension of a string
int pos=name.Contains(EXTENSION_IDENTIFIER); // LINE 193
if (Extension(name)>0) {
// do something
if (pos<1) Display("%d %d", pos, name.Length);
return name.Truncate(pos);
}
else return name;
}
#define EXTENSION_IDENTIFIER ">"
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.435 seconds with 15 queries.