Info |
---|
For an overview of Frames, click here. |
This article describes the order in which the system processes frames.
A script can have many frames. The order and relationship between the frames impact when they will be processed by the system. Frame processing happens at the speed of a computer, not that of a human. It is quite fast. Two frames on the same level with no conditions appear to happen at the same time to a user.
...
When a script is launched, the system script processor will begin processing the frames in the tree starting from the root frame. Each script has a single root frame called Main Frame. That frame has a tree of 0-n child frames below it. The script processor processes each frame as follows:
Evaluate the conditions. If the conditions evaluate to true or no conditions are present, it is considered to be met
If the conditions are met
Activate frame resources
Process any child frames
If the conditions are not met
Queue until the conditions are met and move to the next frame on the same level
The flowchart below describes the process:
...