The set_state_timeout action sets up a timer for the current state that will trigger the state_timeout event when the elapsed time exceeds the specified range.
This timer is canceled (disabled) when the state is changed, making it useful for limiting the duration of a state or other timed behavior that should be canceled once the state is done. When changing to a punctual state, this timer is paused instead, and resumed once the punctual state ends and if the suspended state is re-entered.
<min time>
[<max time>]
punctual_state_timeout
event unless the punctual state is ended or changed before the timer elapses.timer_t0_triggered
to timer_t3_triggered
event.user_event_0
to user_event_9
event handler for one or more specified other NPC groups.