Script Cooldown

I want to add attributes such as Cooldown and priority to the event through the script, but I couldn’t find the corresponding method in the script manual, and I couldn’t find the attribute to modify through dump.
May I ask what I should do? Thank you.

There is still no answer, can anyone help me study it?


You can find those properties in the event’s automatableProperties. For example, assuming you have an event assigned to var event:

  • event.automatableProperties.priority can be assigned to between 0 and 4
  • event.automatableProperties.triggerCooldown can be assigned to between 0 and 60000