Hi, I'm developing a add-on that's mostly based up reacting to when new alerts are triggered. These could be when a entity is damaged or when a custom alert from a programmable speaker triggers and alert. I've poured over the documentation but can't seem to find any events for these things. Am I missing something or isn't there events for these alerts?
Would kindly accept guidance or feedback of this matter.
Thanks,
alu
Events for alerts?
Re: Events for alerts?
Answering myself here. Entity damaged have their own event(s), so I solved it by listening to those. As to other alerts I'm currently checking LuaPlayer::get_alerts with script.on_nth_tick, which might not be optimal but works.