YesNoOk
avatar

Coding: Is there a MoveHit or MoveContact bug? (Read 1062 times)

Started by Redash, March 02, 2018, 12:57:53 pm
Share this topic:
Coding: Is there a MoveHit or MoveContact bug?
#1  March 02, 2018, 12:57:53 pm
  • avatar
  • **
    • Singapore
Hi,

For unknown reasons when i add "movehit" or "movecontact" to my triggers in the middle of a combo sequence, the entire scrtl is not triggered.

I had also tried "movehit/contact = 1 / 0" but same issue.

Are Movehit and movecontact buggy in Mugen when used in a combo sequence? I am using them in the 3rd hit of a combo sequence to display special effect when the attack hit or touched enemy.

My scrtl in qns is quite simple:
Type = Explod
Trigger1 = movehit && AnimElem = 1
Trigger2 = movecontact && AnimElemTime(1) >= 0
... (other attr of explod)

When i takeaway the movehit and movecontact, the trigger works (though even when the attack missed...)

If there is really a mugen bug, what would be the current workaround? if any...
Re: Coding: Is there a MoveHit or MoveContact bug?
#2  March 02, 2018, 02:35:34 pm
  • *****
  • Estoy siempre listo para un desafĂ­o.
    • Puerto Rico
    • im41784@yahoo.com
Add an id to the hitdef

ID = 200

Trigger1 = movecontact&&numtarget(200)

Example
Re: Coding: Is there a MoveHit or MoveContact bug?
#3  March 02, 2018, 02:42:14 pm
  • ******
    • www.justnopoint.com/
Is the move able to hit on AnimElem=1?
Re: Coding: Is there a MoveHit or MoveContact bug?
#4  March 04, 2018, 06:08:24 am
  • avatar
  • **
    • Singapore
Hi.

I had tried HitDef  ID and numtarget (ID) but it is not working after 1st attack of my 10hit combo sequence for reasons i dunno.

 I also triedto spawn helper to cont/compete the combo sequence and use numtarget(ID) but same issue.. so long the trigger has movehit or movecontact, the Explod will not trigger

CLSN1 is added only to 1st frame of each attack. (Bet 2 to 6 ticks on all 1st frames)
The other anim frames are transition to next attack in the autocombo sequence.

I tried usig p2BodyDist for explod trigger but result is inconsistent. Sometimes enemy position too far/near the attack hit and nv display Explod, or attack miss and still display Explod...
Re: Coding: Is there a MoveHit or MoveContact bug?
#5  March 04, 2018, 11:45:44 am
  • avatar
  • **
    • Singapore
A quick update: i PARTIALLY solved the issue with TargetState scrtl (Can someone tell me why?)... and in the target custom state i place the Explod scrtl. Now the explod will appear ONLY when hit (hurray!)

BUT the Explod is not binding to the target... what is going on?
My Explod bindtime = -1 and time = -2
I tried Targetbind and BindtoTarget but both not working...

Need advise why my Explod is not bind to target hit anymore... and how to make it bind again?