leron9999 Posted September 23, 2013 Share Posted September 23, 2013 Hi guys. I'll head straight to the point. I'm currently trying to make different effects based on the state of the target. This means that I use the onHit event and within it, I use the GoToState function. This works somewhat, but the thing is, the onHit Event keeps firing even though I'm supposed to be in a new state already (and with a different set of behavior for its own onHit event). I tried using the version method, but that either gets me stuck on the first state or doesn't work at all. I also tried using while loops to control it, and while it's more successful, I still get stuck on the first state. I tried using the removeSpell then addSpell functions rather than states, but that has some very unpredictable results. Any tips on how to better control onHit events would help immensely. Link to comment Share on other sites More sharing options...
leron9999 Posted September 29, 2013 Author Share Posted September 29, 2013 Bump. Link to comment Share on other sites More sharing options...
Recommended Posts