Thank you gm9, I seem to have got that working . I never took a class for any scripting language (a la xml, lua, etc) or learned it officially, so I'm still learning but I wont forgot what I've been taught. I've been learning xml through EQ2 so bear with me.
Now gm9; I understand your logic tree. My problem is that when you are dual wielding with different weapons, the CombatBubbles screw up because of the different delays, and the same color/shadowstyle. I'm not sure how to fix this, but it definitely is an issue. Any ideas?
Code:
if (RangedAutoAttack) {
start ranged bar;
} else {
if (SecondaryDelay) {
if (PrimaryBar.Position == SecondaryBar.Position) {
trigger PrimaryBar;
trigger SecondaryBar;
}elseif (PrimaryBar.Position < SecondaryBar.Position) {
trigger PrimaryBar;
}else{
trigger SecondaryBar;
}
}else{
trigger PrimaryBar;
}
}