 |
Castle Paradox
|
View previous topic :: View next topic |
Author |
Message |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Tue Jan 10, 2006 9:00 am Post subject: |
|
|
Dear TeeEmCee,
How to we have multiple scripts running? I know they're not running consecutively, but you can trigger the same script twice in a row, and stuff. There is a bitset to that nature.
Sincerely, Mike. _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Battleblaze Warrior Thread Monk

Joined: 19 Dec 2003 Posts: 782 Location: IndY OHR
|
Posted: Tue Jan 10, 2006 6:06 pm Post subject: |
|
|
This plotscripter battle of the titans would be cool if I knew what they were talking about. _________________ Indy OHR! and National OHR Month Contest going on now!
"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall |
|
Back to top |
|
 |
Andrusi
Joined: 06 Sep 2005 Posts: 9 Location: There...
|
Posted: Thu Jan 12, 2006 11:24 am Post subject: |
|
|
Basically, they're discussing whether GAME is capable of going through more than one script at the same time.
Let's say we have two scripts: script "Numbers" with commands "123456789" and script "Letters" with commands "ABCD%EFGHI," where "%" is call(Numbers). Normally the commands would end up being processed in the order "ABCD123456789EFGHI," and if command 9 is "loop back to command 4 in an infinite loop," then commands E, F, G, H, and I will never be executed. Mike is suggesting an alternate method of launching a script that would cause the interpreter to start a second "thread," turning the order into something more like this:
A
B
C
D
% 1
E 2
F 3
G 4
H 5
I 6
- 7
- 8
- 9
This way, it doesn't matter that there's an infinite loop in Numbers, because the list of commands from Letters is still being processed alongside it. Letters could have an infinite loop, too, and they could keep looping around at different rates. Unfortunately, The Mad Cacti says, the script interpreter doesn't work this way, and making it work that way would be a ridiculous amount of work that nobody wants to do.
EDIT: trying to get formatting to work out properly _________________ ANDRUSI &&
Sanity not included. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot 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
|