![]() |
Casting / Breath window
What I have is a breath gauge in my casting window.
I either need to make the casting window visable at all times OR just pop up when the breath gauge is activated. I have tried "on show" and changing the data filters etc, even tried to load it up with the player window, With lots of mixed results lol.. Have read the thread about the same thing with the target window but to no avail. At the moment I can only see the breath gauge when I am casting a spell underwater , soon as the casting finished of course the window pops. Best I can explaine it realy lol Gratefull for any help given :) |
wheres your actual breath bar?
What have you done with the original breath bar? I cant imagine what you are up to...but to make casting window popup when breath is activated you could make the mainHUD.breath bar effectively invisible (size 1,1) and then assign commands to its onshow and onhide effects. I'm assuming you've made a progress bar in the casting bar that reads breath dynamic data...
Thats all I can think of without having the uibuilder in front of me, but does anyone know if the casting bar and breath bar have styles that cause them to appear or disappear, or if the game comes down from on high and sets their visibility? |
2 Attachment(s)
Right on the lines of that I have tried this,
In the original breath file I added this to the "on hide" visible=false show_window=(MainHUD.casting) show_window=(MainHUD.casting) "on show" visible=true show_window=(MainHUD.casting) show_window=(MainHUD.casting) And the other way round as well, What that did was make a copy of the casting window show up in another location "on screen" insted of using the one that is already there... Image 1 , shows I have managed to get a "casting" window to pop up with the standard breath bar. Image 2 , shows the "proper" casting window at the bottom that only shows up when starting to cast.. But the casting progress is shown in the window that "poped up" also.. As you can see I have a breath gauge in my casting window... all I want to do is get 1 of those to pop up when underwater.... I have done this succesfully when the casting and breath gauges are "contained" in the group window.... But this is causing some stupid problems :( |
1 Attachment(s)
Nvm got it to work :nana:
Made a new page chopped and changed the breath and casting code about a bit, Did an <include> in the mainhud and put an "on show" in the player window and BINGO ! lol Now to kill the redundant casting and breath windows. One small snag though... I cant for the life of me figure out why I am not able to right click on the new window and get the window options? |
Quote:
Just to recap this is for a new page that I have made... Ideas anyone please? |
| All times are GMT -5. The time now is 04:01 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI