AI Event Start of State

start_of_state

Triggered on beginning of a state, just after state change to this state.

It is also triggered at the start of the initial state for groups, when they have just been initialized.