AI Event End Of State

end_of_state

Triggered on the end of a state just before the new state is set.