Michael_Lowry

At which execution stage are the different UC4 scripting commands executed?

Discussion created by Michael_Lowry on Feb 13, 2014
Latest reply on Feb 18, 2014 by Michael_Lowry

I discovered yesterday that the GET_VAR commands in an SCRI object are executed all at once, together with resolution of object variables in theVariables & Promptstab, and before any of the other script commands have been executed. This means that the GET_VAR commands are not run in the order in which they appear in the script, and they will fail to work if they depend on variables that are set dynamically. I discovered something similar today with the :PUT_ATT command.

This raises an important question:

Which UC4 scripting commands are not run in the order in which they appear in the script?

Or more generally:

At which execution stage are the different UC4 scripting commands executed?

Is there a table listing these details? I couldn’t find this information in the documentation

Outcomes