YesNoOk
avatar

Player 2 in crouch?  (Read 154 times)

Started by Odb718, June 24, 2012, 12:41:23 am
Share this topic:
Player 2 in crouch?
#1  June 24, 2012, 12:41:23 am
  • ***
    • USA
How can I find out if Player 2 is in crouch inside a helper's statedef?
I have a homing missile that does it's job perfectly except when the enemy crouches. It flies over their head. So I need to adjust for when the enemy's in crouch but I have no clue how to find out.
           
Re: Player 2 in crouch?
#2  June 24, 2012, 12:42:19 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
enemynear(0), statetype = C
p2statetype = C
enemy, statetype = C

All valid triggers to detect if p2 is in a crouching statetype.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Player 2 in crouch?
#3  June 24, 2012, 01:30:27 am
  • ***
    • USA
Thanks yet again Cyanide.
I'm going to need your help here soon with Samus' tractor-beam grab. It's very similar to Omega Red's grab.
           

2OS

Re: Player 2 in crouch?
#4  June 24, 2012, 01:49:46 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
if you hate / want to avoid player type helpers don't use p2anything as a trigger minus p2name.

even so enemy,name is better because it will look ""cleaner"" if you're doing enemy,authorname because there is no p2authorname.


triggerall=numenemy


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3