StateLimitsInput
The limits of one state.
An object with 3 fields.
Fields
max_turnsintegerThe most consecutive Turns in one visit to the state; at the limit the state exits to
on_limit.max_visitsintegerThe most times the state can be entered in one Call; a further entry goes to
on_limit instead.on_limitstringThe state to exit to when either limit is reached. It must lead to a
final state or a person without re-entering the limited state; otherwise the statechart is refused with statechart_limit_exit_reenters. Required when either limit is set.