Funny thing I just stumbled over:
if (Me.getAnimationVariableint("Isattacking")) && (!ME.getAnimationVariableBool("bBowDrawn")) && Start == 0debug.messagebox("start bow attack")start = 1elseif (Me.getAnimationVariableint("Isattacking")) && (ME.getAnimationVariableBool("bBowDrawn")) && start == 1 while (Me.getAnimationVariableint("Isattacking")) && (ME.getAnimationVariableBool("bBowDrawn")) ;do nothing endwhile start = start + 1 debug.messagebox(" start = " + start) elseif Me.getAnimationVariableint("Isattacking") == 0 && start != 0 start = 0 debug.messagebox("After bow attack.")endifSo running this in my magic effect script the message ("start bow attack") only fires once and ("After bow attack.") only fires once
but (" start = " + start) fires many times and the number goes up sequentially 2,3,4,5,6 so on.
Logically to me it should only fire once as "2" and then nothing until "After bow attack." resets start to zero ....right?
