跳转至

Emerge

文档版本:1.21.0.24

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"
}
prioritypriority
priority:
integer
cooldown_timenumber
Time in seconds the mob has to wait before using the goal again.
durationnumber
Goal duration in seconds.
on_donetrigger
Trigger to be executed when the goal execution is about to end.
trigger:
string
trigger:
{
  string "event" : opt
  filters "filters"
  subject "target"
}
eventstring
The event to run when the conditions for this trigger are met.
filtersfilters
一个过滤器组。The list of conditions for this trigger to execute.
targetsubject
The target of the event.
subject:
string
trigger:
array
{
  object "<any array element>" : opt
  {
    string "event" : opt
    filters "filters"
    subject "target"
  }
}
<any array element>object
<any array element>