« Reset of flags | Main

December 21, 2005

Counter of scene

Each scene and select statement has its own counter.
These counters are counted up each time when scene and select statement are called.
Counters are saved for each scenario files.
When scenario name is "test.7th" then Counter data file is saved as "test.7da"
This counter has effect on select statement.
Select statement will select scene primarily that has minimum counter value.
So select statement is executed as following steps.

1. Discriminate scene that had inhibited by ! command.

2. Judge condition formula and discriminate if its value is false

3. Select scene that had maximum priority.

4. Select scene which have minimum counter value.

5. Select randomly from candidate selected above.


« Reset of flags | Main