I'm trying to add a new notification in my script. Unfortunately it seems like I'm banging my head against the wall.
FromLua called on NotificationAdded- this shouldn't happen. Use UI.AddNotification()
That's the error I got when I tried, for informational sake, to call Events.NotificationAdded directly. The problem is, UI. AddNotification isn't exposed to Lua, so you can't call it. This leads to the banging my head part, I can't seem to find any other way to add notifications. I can manually call OnNotificationAdded(), but while that will put a fake notification up, you can't actually interact with it, and you can't even remove it.
So on the off chance that someone with more knowledge/insight than I have has an idea, I welcome any suggestions.
Bh
FromLua called on NotificationAdded- this shouldn't happen. Use UI.AddNotification()
That's the error I got when I tried, for informational sake, to call Events.NotificationAdded directly. The problem is, UI. AddNotification isn't exposed to Lua, so you can't call it. This leads to the banging my head part, I can't seem to find any other way to add notifications. I can manually call OnNotificationAdded(), but while that will put a fake notification up, you can't actually interact with it, and you can't even remove it.
So on the off chance that someone with more knowledge/insight than I have has an idea, I welcome any suggestions.
Bh