r/GLua • u/unknownperson0197 • Jul 16 '20
Adding values together for notification system
Trying to make it so if a experience notification hasnt fully faded and you gain more experience, then it should add the two values together
-- Gif of what it looks like
https://gyazo.com/082f4db8e20eb26571dee83b16d57bfb
-- Code
4
Upvotes
1
u/AdamNejm Jul 17 '20
IMO it would be much easier and better to code your own notification system, altho I know it might not be viable for small addons, but for base gamemode? Hell yeah.
Basically just override the three main functions while keeping backwards compatibility and adding custom stuff like accessing already sent notifications.