YesNoOk
avatar

anim (CNS) (Read 5443 times)

Started by JustNoPoint, October 01, 2015, 01:46:55 pm
Share this topic:
anim (CNS)
#1  October 01, 2015, 01:46:55 pm
  • ******
    • www.justnopoint.com/
Part of the Statedef
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
Last Edit: October 13, 2015, 07:59:01 pm by Odb718
Re: anim (CNS)
#2  April 14, 2016, 07:32:39 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
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).