anim (CNS) (Read 3241 times)

Started by Just No Point, October 01, 2015, 01:46:55 PM
Share this topic:
anim (CNS)
#1  October 01, 2015, 01:46:55 PM
  • ******
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:

[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
  • *****
  • Gaps? Where we're going, we don't need gaps...
    • USA
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).