ShatteredCasis
10-07-2010, 08:29 PM
Hey all.
I'm wanting to check for if a sonic weapon is active, and if not, the cast it.
I've found that Spells[1012].active, or checkspell(1012) isn't reliable, as it seems to only be looking at duration. and will return true if other songs are still being sung.
The thing is, I don't "always" want to cast. Ie, there could be a reason it was dropped, like needing to sell loot or climb a gate.
So any suggestions on what I can do? I was thinking of maybe a downstream hook looking for dissipates, and then recasting the song after say, 5 seconds, to allow for some time to accomplish the task at hand. Frankly, I'd rather box fail than keep hunting without a weapon.
Dunno, it just doesn't seem very elegant to do that. I suppose I could always just do constant "glances" or "spell active", but the screen scroll would get pretty annoying.
Anyone addressed this already or have a suggestion? maybe there's an xmldata that I could grab and avoid the screen scroll.
Thanks!
I'm wanting to check for if a sonic weapon is active, and if not, the cast it.
I've found that Spells[1012].active, or checkspell(1012) isn't reliable, as it seems to only be looking at duration. and will return true if other songs are still being sung.
The thing is, I don't "always" want to cast. Ie, there could be a reason it was dropped, like needing to sell loot or climb a gate.
So any suggestions on what I can do? I was thinking of maybe a downstream hook looking for dissipates, and then recasting the song after say, 5 seconds, to allow for some time to accomplish the task at hand. Frankly, I'd rather box fail than keep hunting without a weapon.
Dunno, it just doesn't seem very elegant to do that. I suppose I could always just do constant "glances" or "spell active", but the screen scroll would get pretty annoying.
Anyone addressed this already or have a suggestion? maybe there's an xmldata that I could grab and avoid the screen scroll.
Thanks!