跳转至

Croak

文档版本:1.21.0.24

[EXPERIMENTAL BEHAVIOR] Allows the entity to croak at a random time interval with configurable conditions.

架构

croak:
{
  priority "priority"
  duration "duration"
  filters "filters"
  interval "interval"
}
prioritypriority
priority:
integer
durationnumber2orvalue
Random range in seconds after which the croaking stops. Can also be a constant.
vector_of_2_items:
array
{
  number "0..0" : opt
  number "1..1" : opt
}
0..0number
The X component.
1..1number
The Y component.
value:
number
filtersfilters
一个过滤器组。Conditions for the behavior to start and keep running. The interval between runs only starts after passing the filters.
intervalinteger2orvalue
Random range in seconds between runs of this behavior. Can also be a constant.
vector_of_2_items:
array
{
  integer "0..0" : opt
  integer "1..1" : opt
}
0..0integer
The X component.
1..1integer
The Y component.
value:
integer