YesNoOk
avatar

Counter Hit and First Attack Issues (Read 360 times)

Started by Nep Heart, September 20, 2018, 04:48:21 am
Share this topic:
Counter Hit and First Attack Issues
#1  September 20, 2018, 04:48:21 am
  • **
  • CPU Purple Heart
    • USA
    • www.dailymotion.com/2a8130871d2742d2f4da3b069
 So, recently, I've installed a First Attack and Counter Hit mechanic into my character, which does exactly as you'd expect from them. With normal attacks, these two systems work perfectly fine in every way, but when it comes to helpers, they fail to activate like as if the hits never occurred in the first place. After finding out that helpers cannot read negative states (where I have the systems coded in), I resorted to actually coding them into each helper. The problem is that now each mechanic triggers twice instead when a helper and non-helper attack both meet the conditions.

 What would be the most efficient way to code the systems so that MUGEN reads the code between helpers and non-helpers equally?
Last Edit: September 24, 2018, 10:42:01 am by Nep Heart
Re: Counter Hit and First Attack Issues
#2  September 24, 2018, 04:06:05 am
  • **
  • CPU Purple Heart
    • USA
    • www.dailymotion.com/2a8130871d2742d2f4da3b069
 Bumping just to garner needed attention for my issue.
Re: Counter Hit and First Attack Issues
#3  September 24, 2018, 04:14:47 am
  • avatar
  • **
easiest way is to set a variable to detect when the first attack is triggered and this will stop the second "first attack" from triggering

hope this helps

MGMURROW
Re: Counter Hit and First Attack Issues
#4  September 24, 2018, 10:41:46 am
  • **
  • CPU Purple Heart
    • USA
    • www.dailymotion.com/2a8130871d2742d2f4da3b069
 Okay, I think I found the solution. The variable conditions were too low for counter hit and first attack occurrences. Bumping them up a value higher each actually prevented them from activating twice when a helper and non-helper both meet the conditions.

 Thanks for your input anyway, I still appreciate your response.