Timer Flag¶
文档版本:1.21.50.25
Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_
架构¶
timer_flag:
{
priority "priority"
number "cooldown_range" : opt
vector_of_2_items "cooldown_range"
number "duration_range" : opt
vector_of_2_items "duration_range"
array "control_flags" : opt
{
string "<any array element>" : opt
}
trigger "on_end"
trigger "on_start"
}
priority:priority
cooldown_range:number- Goal cooldown range in seconds.
cooldown_range:vector_of_2_items- Goal cooldown range in seconds.
0..0:number- The X component.
1..1:number- The Y component.
duration_range:number- Goal duration range in seconds.
duration_range:vector_of_2_items- Goal duration range in seconds.
control_flags:array- UNDOCUMENTED
control_flags<any array element>:string
on_end:trigger- Event to run when the goal ends.
event:string- The event to run when the conditions for this trigger are met.
filters:filters- 一个过滤器组。The list of conditions for this trigger to execute.
target:subject- The target of the event.
trigger:
array
{
object "<any array element>" : opt
{
string "event" : opt
filters "filters"
subject "target"
}
}
<any array element>:object
<any array element>on_start:trigger- Event to run when the goal starts.