Quote:
Originally Posted by Othesus
Your target window has a special page for NPCs and shinies so that it displays them entirely differently. Hmm, for shinies it only checks for "?" though and not the "!" book pages...
|
I'm fairly certain that you cannot tab-target "!" pages. The code for "?" is a workaround where you tab-target the "?" and then double-click it again or something like that (memory is hazy and that code is a mess anyway - was actually my first use of conditionals ever IIRC).
Quote:
Originally Posted by Othesus
It seems to work ok. It doesn't switch modes to show you the health and power instantly. The window has to be updated by some kind of event, like a change in health or power etc. but the default interface window works the same way. It doesn't change instantly either.
|
Right, currently I use the power bar. NPC's don't have one. Once you target something with a power bar the DynamicData gets triggered and switches the mode of the window. However, on NPC's turning attackable and thus obtaining a power bar while you have them targetted, this does not work.
Interesting that your code seems to work, I'm fairly certain that I already tested an OnShow event on the info text - actually it was the first thing I tried since I already use the OnHide event of that object. Maybe the behaviour of that object changed over time, it was long ago when I last looked at the code, and I can't remember what the issue with it was. Would be cool if that's it, in any case thanks for taking the time to find a workaround.
To you want to go ahead an upload your window here so people can test it just in case the sparring partner's behave differently than other mobs or other issues appear like the window not switching to NPC mode when it should?