YesNoOk
avatar

Disabling Hitdef during move. (Read 337 times)

Started by WooshaQ, November 11, 2013, 09:37:33 pm
Share this topic:
Disabling Hitdef during move.
#1  November 11, 2013, 09:37:33 pm
  • ***
  • Smart Icoca wannabe!
    • Poland
    • samouczek.com/

  • Online
Hi, is it possible to disable hitdef when certain conditions are met during the move? For example when character has passed the enemy during earial move, so that enemy would not get hit by mistake, kind of false positive...

DW

Re: Disabling Hitdef during move.
#2  November 12, 2013, 01:09:17 am
  • ****
  • I lack discipline.
    • USA
    • www.trinitymugen.net
Make the attacker statetype idle on hit/movecontact...?
Re: Disabling Hitdef during move.
#3  November 12, 2013, 07:54:24 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com
Make the attacker movetype idle on hit/movecontact...?

This pretty much.

That or overwrite the Hitdef with a new one, triggered only under the new conditions, but I prefer just setting the movetype.

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.