YesNoOk
avatar

Prevent my character from being a target or put in custom states? (Read 580 times)

Started by -Whiplash-, October 22, 2014, 03:47:50 am
Share this topic:
Prevent my character from being a target or put in custom states?
#1  October 22, 2014, 03:47:50 am
  • **
  • Prince of Latis
    • Canada
    • Skype - whiplash-1
Okay. Say I was making a game with tag and I wanted it so assists could not be grabbed in any way (I.e. put in a custom state)

Also I want to make it so the opponent will never target or face them in any way. are either of these things doable, and how?
Re: Prevent my character from being a target or put in custom states?
#2  October 22, 2014, 05:23:40 pm
  • *****
    • Peru
    • www.mugenguild.com/renzo

  • Online
For the first one, use a NotHitBy. For the second one, I'm a bit rusty in MUGEN coding, sorry. I have no ideas right now.
Re: Prevent my character from being a target or put in custom states?
#3  October 22, 2014, 05:54:46 pm
  • **
  • Prince of Latis
    • Canada
    • Skype - whiplash-1
........


Somehow I never thought of using nothitby.

*Facepalm*
Re: Prevent my character from being a target or put in custom states?
#4  October 22, 2014, 09:58:26 pm
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
For the second one I think you can make use of AssertSpecial "noautoturn" flag. I've used it before to try to achieve something. It wasn't for me at the time though, but it might be what you're looking for.

-[Все слова это только слова.]-
Re: Prevent my character from being a target or put in custom states?
#5  October 22, 2014, 10:03:44 pm
  • *****
    • Peru
    • www.mugenguild.com/renzo

  • Online
I don0t think that will work because:

a) You have to code it in every character besides the one he's coding
b) That will screw with autoturn in situations where it should work normally (i.e.: facing the active character).
Re: Prevent my character from being a target or put in custom states?
#6  October 22, 2014, 10:09:19 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/

  • Online
Don't use player type helpers to prevent the facing issue.

Use hitoverrides to prevent them from becoming targets or entering custom states. Even a regular attack can lead to a custom state. If you don't want them to be touched at all, then you can continue using a nothitby =p
Re: Prevent my character from being a target or put in custom states?
#7  October 22, 2014, 10:23:34 pm
  • **
  • Prince of Latis
    • Canada
    • Skype - whiplash-1
... Okay, I think I should add some more Info:

The Character is for a Full game, so I am open to anything.

The problem with the player type helpers is that they are not helpers, they are characters, which is why I was having the opponent facing the wrong person issue in the first place. I will try Noautoturn.

So, for my Assist, I can just have a hit override that will for the character to go into state 5000 when they get hit by anything?
Re: Prevent my character from being a target or put in custom states?
#8  October 22, 2014, 11:33:49 pm
  • *****
    • Peru
    • www.mugenguild.com/renzo

  • Online
You could use a helper spawned from the inactive character to achieve what you want.