版本:Beta ⚠️(未翻译)
Timed Activity
The TimedActivityEntry is an activity that allows child activities for a limited amount of time.
When the duration is up, the activity will deactivate. Then the activity will be on cooldown for a set amount of time before it can be activated again.
How could this be used?
This could be used to make an entity do something for a limited amount of time.
Fields
Duration
必填The duration child activities will be active for.
持续时间可以按以下格式指定:
1d 2h 3m 4s。支持以下单位:d 表示天,h 表示小时,m 表示分钟,s 表示秒。Cooldown
必填The cooldown time before the activity can be activated again.
持续时间可以按以下格式指定:
1d 2h 3m 4s。支持以下单位:d 表示天,h 表示小时,m 表示分钟,s 表示秒。Active Activity
必填The activity that will be used when the duration is active.
Cooldown Activity
必填The activity that will be used when it is on cooldown.