YesNoOk
avatar

Helper shield turns into the player when hit. (Read 346 times)

Started by Tails Clock, May 02, 2008, 05:20:28 pm
Share this topic:
Helper shield turns into the player when hit.
#1  May 02, 2008, 05:20:28 pm
  • **
  • If I offended you, you're an idiot.
    • UK
    • www.mugenevolution.co.uk/TailsClock/
I have a move that creates a helper that apears infront of hte player and hurts the enemy, but I wanted it to absorb projectile attacks too. Whenever a projectile hits it though, it acts as if it was the player being hit instead and spawns a copy of him. How can I stop it using the 5000 states?

EDIT: did a HitOverride to send it back into it's own state when hit with a projectile, but that makes it last longer everytime it's hit.

I am trying to set up a Guardian Heroes Mugen Project. Before I do I'm trying to collect resources at http://mugenguild.com/forumx/index.php?topic=88937.msg770946#msg770946
I am more a sprite ripper than a character maker, but I can code well. I am always looking for projects to join. (I suck at solo projects)
I am a beta-tester and am well known for being very pedantic.
Last Edit: May 02, 2008, 06:05:54 pm by Tails Clock
Re: Helper shield turns into the player when hit.
#2  May 02, 2008, 11:45:45 pm
  • ******
  • [E]
    • Mexico
depending on what you want to do:
a)if you want the shield to dissapear after one hit, hitoverride to a different state in which it dissapears.
b) if you want it to keep going normally and dissapear only after a certain amount of time has passed, change all your time trigers to animtime(1) triggers, take out the anim= whatever in your statedef and add a change anim sctrl with the triggers time=0 && anim!= whatever anim.