Search found 3 matches
- Mon Dec 02, 2024 11:56 am
- Forum: Modding help
- Topic: Events for alerts?
- Replies: 1
- Views: 78
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.
- Mon Dec 02, 2024 11:52 am
- Forum: Modding interface requests
- Topic: on_alert and on_custom_alert events
- Replies: 0
- Views: 45
on_alert and on_custom_alert events
Would it be possible to have events raised when new alerts are triggered?
Possibly:
Possibly:
- on_alert
- on_custom_alert
- Fri Nov 29, 2024 9:57 pm
- Forum: Modding help
- Topic: Events for alerts?
- Replies: 1
- Views: 78
Events for alerts?
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 mis...