View Single Post
  #250  
Unread 11-23-2008, 11:53 PM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Default

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;
	}
}
__________________
May Jesus Have Mercy On Us

Last edited by dragowulf : 11-23-2008 at 11:59 PM.