The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => MUGEN Class => Topic started by: Just No Point on October 01, 2015, 01:46:55 pm

Title: anim (CNS)
Post by: Just No Point on October 01, 2015, 01:46:55 pm
Part of the Statedef (http://mugenguild.com/forum/topics/details-statedef-and-special-state-numbers-cns-169454.0.html)
This parameter changes the Animation Action of P1. Specify the action number as the value. If you do not want P1 to change animation at the start of the state, omit this parameter.

So to have a state with number 400, where the player is doing a crouching attack with Action 400, the typical parameters would be:

Code:
[Statedef 400]
type = c
movetype = a
physics = c
anim = 400
Title: Re: anim (CNS)
Post by: Ricepigeon on April 14, 2016, 07:32:39 pm
Important to note is that if this line is omitted from the statedef of a helper state, and this same stateno is the one defined in the Helper controller that creates the helper, it will default to the root player's animation 0 (idle animation).