NOTIFICATION_(type)

Drawmeus

Emperor
Joined
Jul 25, 2007
Messages
1,213
Is it possible to add notification types in the DLL?

I'm looking around and I can't find where the notification types are defined - looking like I'll have to define it in Lua, which seems odd.
 
No you can't, but you don't need to as I rewrote the notification code (based on Sneaks and alpacas code) - see UI - Notification Options (GK) (there is also a non-G&K version)

"Also provides an interface for adding custom notifications and/or overriding existing ones"
 
I really need to document how to add new notifications, so any questions, just ask here and I'll try and write a short "how to" - but you may be able to work out how to do it from the Corral notification in "Units - Herdsmen"
 
On the one hand, when I downloaded your Herdsmen mod, I didn't see any custom notifications in there.

On the other hand, working from your UI - Notifications thread's examples, I figured it out without too much trouble. It's integrated and working now.

Thanks again, and Merry Christmas (or Happy Holidays, or if you don't celebrate *any* holidays, have a nice day~)
 
On the one hand, when I downloaded your Herdsmen mod, I didn't see any custom notifications in there.

Doh! Meant "Mounted Units"
 
Back
Top Bottom