Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

New- and Load-Game Plotscript Problems
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Sun Oct 24, 2004 3:53 pm    Post subject: Reply with quote

Mr B wrote:
Well, I figured out what was happening. It is a VERY interesting bug in the program.

It would seem that having a non-terminating "load map" script causes "new/load game" scripts to not function.

Problem solved, I suppose...(now how to get around it?).


Ooh! Now this makes perfect sense! I see what is happening now.

The New Game (or Load Game) script is triggered instantly when you start/load your game... but before any of the commands in that script have a chance to be executed, the map is loaded, and at the same time, so is the map autorun script. If the map autorun never terminates, then the new game/load game script never gets a chance to finish.

The workaround I would reccomend is to NOT start your endless loop script as a map autorun script at all. Instead, run it from the end of your new game script and your load game script.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mr B




Joined: 20 Mar 2003
Posts: 382

PostPosted: Mon Oct 25, 2004 11:00 am    Post subject: Reply with quote

Thanks! I did it and it worked beautifully.

Heheh, just one more example of my all-too-human inability to see the forest for the trees...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group