Orderables - TobCar/carla GitHub Wiki

Processes being run and steps are Orderables. They have to come after another Orderable or they are the first Orderable to be run in a process. All Orderables have to be placed inside of a process.

"after" Keyword

after [Orderable Name], [Orderable Name]

The Orderable with the "after" keyword will not run until Orderables with the names specified have been run already. Omitting the "after" keyword on an Orderable causes it to be executed at the start of the process. Every process must have at least one Orderable without the "after" keyword. In order for an Orderable to receive variables with the "using" keyword they must be "after" an Orderable that passes a variable with that name.

Multiple Orderable names can be included as long as they are separated by commas.

"last" Step Keyword

Writing "last" instead of step [Step Name] when declaring a step is shorthand for writing the "after" keyword and all of the Orderable names in the process. Simply, "last" is a way of making sure a step is executed after all other steps.