Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: A! on June 07, 2014, 03:54:30 PM

Title: Helper/ChangeState Issue
Post by: A! on June 07, 2014, 03:54:30 PM
Hi,  been a long time  :P

I been trying to make a helper stick to my character kinda like JoJo characters have.  I looked at various characters that use this system but for some reason it wont work for me...

Here's the code:

(click to show/hide)

Thanks in advance.

P.S. Nice to see my emotes still being used :)

EDIT: Sorry i didn't explain what was wrong.  The animation changes to walk but does not animate, just stays a single sprite.
Title: Re: Helper/ChangeAnim Issue
Post by: A! on June 07, 2014, 06:27:38 PM
(click to show/hide)

I updated the code, so it works now.  If anyone expert think what I did is wrong, just say.
Title: Re: Helper/ChangeAnim Issue
Post by: Cyanide on June 07, 2014, 11:01:37 PM
It'll work, but... you're going to be doing rather a lot of this and just like the player, it would make more sense to use changestates so the helper is in walk/crouch/jump states rather than just displaying the animation. It's tidier, as it stands you're going to be coding EVERYTHING into state 10000 which will make it rather longwinded.
Title: Re: Helper/ChangeAnim Issue
Post by: A! on June 08, 2014, 07:24:15 AM
It'll work, but... you're going to be doing rather a lot of this and just like the player, it would make more sense to use changestates so the helper is in walk/crouch/jump states rather than just displaying the animation. It's tidier, as it stands you're going to be coding EVERYTHING into state 10000 which will make it rather longwinded.

Alright, i'll do that.  Thanks, you helped me back in 2010...so i'll do what ever you recommend.
Title: Re: Helper/ChangeAnim Issue
Post by: A! on June 12, 2014, 12:42:31 PM
Got another issue  >:( Whenever I want the helper to attack...I can only manage to do it while making P1 go to state 200.  I wanna know how I can make the Helper attack while P1 is in state 300 instead of 200.  If you don't understand anything or require anything, just ask.

EDIT: P1 Light Punch is state 200.  Helpers Light Punch is state 10200. I want P1 to go to state 300 while helper is in state 10200.  That make sense?
Title: Re: Helper/ChangeState Issue
Post by: Cyanide on June 13, 2014, 01:52:56 AM
ID your helper. Use

Triggerall = numhelper(Whatever ID you used) = 1
when you want 300 and

Triggerall = Numhelper(whatever ID you used) = 0
when you want 200
Title: Re: Helper/ChangeState Issue
Post by: A! on June 13, 2014, 02:35:55 AM
ID your helper. Use

Triggerall = numhelper(Whatever ID you used) = 1
when you want 300 and

Triggerall = Numhelper(whatever ID you used) = 0
when you want 200

 o.O#

Oh man, It worked perfectly! Thanks alot man.  You remind me off FallenAngel, he was great also.
SimplePortal 2.3.5 © 2008-2012, SimplePortal