Emerge¶
文档版本:1.21.50.25
Activates the EMERGING actor flag during the specified duration and triggers on_done at the end
架构¶
emerge:
{
priority "priority"
number "cooldown_time" : opt
number "duration" : opt
trigger "on_done"
}
priority:priority
cooldown_time:number- Time in seconds the mob has to wait before using the goal again.
duration:number- Goal duration in seconds.
on_done:trigger- Trigger to be executed when the goal execution is about to end.
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>