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

guns consume bullets
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Nov 13, 2009 6:22 am    Post subject: Reply with quote

Bagne wrote:
Is this correct:
Two scripts can't run at once (one of them must be suspended), although it is possible for one to run while the other is "waiting"?

This is actually relevant, because I had a "beginning" script which didn't seem to run so long as I had a "always running in the background" script for the starting map.
I've since figured out a work-around, but this sort of thing will be good to know for future plans.


Right, normally when a script is suspended, it was suspended while waiting (which allowed another script to get triggered) or during implicit-wait commands (most obvious example is teleporttomap). The only exception is if two scripts are triggered at once, then the first never even starts.

A suspended waiting script isn't really waiting. For example if you wait for 20 ticks and if in the middle of that another script gets triggered and runs for 50 ticks, when it ends the first script will still wait another 10 ticks.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
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, 3
Page 3 of 3

 
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