While Running Trigger

Definition:

The While Running Trigger trigger is called once every simulation cycle while the simulation is running.

Parameters:

none

Example:

While the Vacuum Cleaner simulation is running, the Vacuum agent picks up dirt if it sees it in the cell below, otherwise it just moves randomly on the floor tile.

See the Vacuum Cleaner simulation.


| Next | Reference Manual | Getting Started Manual |