Infopanel numbering suggestion
Hey Scott,
Just a idea so let me know what you think. Instead of having info panels declare the mode number I think it would be safer for us to call a function in nUI to get the next available mode number it would keep us info panel authors from stepping on each other and any new info panels you create. Also in that same vein maybe the function could track info panel mode numbers between sessions and give the same mode number back to the same info panel. It might be useful also to create a ui frame allowing the user to assign the order they want the panels to switch. Hmm I think I will take a look at the UI display because it would be nice to see what the values are for all the info panels. Brillynt |
Been there, done that rofl. :D
When I made my first infopanel I came across a problem and it refused to load. Realised it was due to numbering the same as an infopanel I already used. So I went through all the current infopanels and listed them. Grabbed a number considerably higher than what had been used so far and started from there. The link is in my signature so you can take a look at what I've done so far :D That said, yes, it would be a good idea to have a function to do just that as part of the infopanel system. |
ya and on that note Hey xry change the nUI_INFOMODE_CARBON # to 35 plz I change it last nite due to alot of new plug ins
|
Rofl, also, for those info panel creators out there :D Maybe post a reply on there so you can keep your own ones updated :D
But yeah, I'll change that :D |
thanks ( dam character limit)
|
I'm actually going to change how I handle this in nUI6 by building a list and allowing the user to turn the individual plugins on and off via a GUI panel in-game. It will also allow the user to change the rotation order (priority) via the same panel. So the mode number will no longer be used in nUI6.
|
Quote:
Thanks, Brillynt |
Rofl, just let us know a bit before you release it, what changes we need to make at a minimum for our plugins to work with it rofl. If any.
|
You won't have to make any changes.
|
Rofl, question 2 then :D
You will let us know which code is now redundant due to the changes ? :D I hate having code around that is useless :D |
Yeah, that I will do.
|
All times are GMT -6. The time now is 03:24 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI