#Is there a way to make text only appear on mouseover?

40 messages · Page 1 of 1 (latest)

stark roost
#

i tried making a hookscript for on enter on leave but i cant manage to get it to work

placid solstice
#

onmouseover what? a UIelement? A NPC in the world?

stark roost
#

to make the text only appear when i mouseover the bar

placid solstice
#

There is no event fired for mouse over on a weak aura progress bar.

#

you have to make your own event like he's doing in Init Actions.

#

If you link what you have I could maybe give you more specific help

stark roost
#

yeah i duplicated the bar and converted it to an icon but it messes up when i add my events in that are required to display all the leveling info

#

wait i just tried to snag the function from another post and when i scroll over his bar it makes my text appear

#

odd

#

yeah im gana have to mess with it some more, The function is the same on his and mine and displays my text when i scroll over his bar but not my own bar

#

this is the one i am attempting to get the mouseover from, it uses Hookscript. but like i said for some reason the function works when i scroll over his bar but not my own

placid solstice
#

ok. I don't want to see what someone else did what do you have

stark roost
#

should i just make his bar invisible and place it overtop of my bar?

#

so that i get the mouseover function without messing with my functions

#

i havent uploaded mine

#

ill post string

#

Im jusst gana remove all his code and use it as an overlay mouseover function. Seems like easiest fix for now

placid solstice
#

ok so you want the text to appear when you mouseover it yes?

#

and otherwise not be visible?

#

unless there's something else you want it seems to be working for me

#

Are you sure that the strings being passed into aura_env.customTexts aren't just empty?

#

if you have both the xeii and your aura loaded at the same time you might be having an issue with global variables being overwritten

#

i believe that hooksecurefunc uses a global table and if you didn't change the name from the original aura it's probably overwritting your hook

#

use a different name or delete the other aura

stark roost
#

yeah i didnt change the name, but if i delete his aura then hover over my bar i no longer get the mouseover

#

but then import his aura again and mouseover function is back

#

Ill mess with it a bit see if i can get it all to be on 1 aura but if not its working fine as a group using his aura as an overlay

placid solstice
#

yea if it's working with his aura installed then it's definitely a global problem

#

the string you linked me above is working

#

but also, try not to overlap global usage. You usually don't want your aura to depend on another like that.

stark roost
#

wait so the aura above worked with mouseover?

#

weird cause i made a backup of my stuff, deleted the, and imported it again and mouseover doenst work on my end

#

not with just that string

#

I get hooksecurefun, bugsack errors to.

#

oh well haha its working superb with his as an overlay, Im not gana worry about it im not a pro scripter