AddTransitionWhenDone Property

Usage:
   AnimationStateMachine.AddTransitionWhenDone name

Argument values:

argument 1:    FaceLook, FlagBlow, IdleParachute, Lb_ClimbLadderExit, Lb_ClimbLadderIdle1, Lb_ClimbLadderIdle2, Lb_Crouch, Lb_CrouchToLie, Lb_CrouchToStand, Lb_ExplosionBackward, Lb_ExplosionForward, Lb_ExplosionLandBackSurviveStandUp, ...

This property is not a part of any defined type of object.

Used in a total of 17 .con files: Animationstateschangeweapon.con, Animationstatesclimb.con, Animationstatescrouching.con, Animationstatesejectclip.con, Animationstatesexplosionfly.con, Animationstatesface.con, Animationstatesfireweapon.con, Animationstateshit.con, Animationstatesidle.con, Animationstatesjump.con, Animationstateslie.con, Animationstatesmisc.con, Animationstatesparachute.con, Animationstatesreload.con, Animationstatesrocketeering.con, Animationstatesshoot.con, Animationstatesswim.con

Parent directory of these .con files: Animations

Example: (from Animations/AnimationStatesClimb.con)
   REM *************** CLIMB ******** ******************
   REM *************** LOWER BODY ******************
   rem --- Climb ladder ----
   AnimationStateMachine.CreateState Lb_ClimbLadderIdle1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderIdle1Lower.baf 1 c_AsmLooping
   AnimationStateMachine.AddTransitionOne c_PIThrottle 0.5 1 Lb_ClimbLadder1
   AnimationStateMachine.AddTransitionOne c_PIThrottle -1 -0.5 Lb_ClimbLadder1B
   AnimationStateMachine.SetSpeed 1.0 0 0
   AnimationStateMachine.SetMorphFactor 1.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.CreateState Lb_ClimbLadderIdle2
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderIdle2Lower.baf 1 c_AsmLooping
   AnimationStateMachine.AddTransitionOne c_PIThrottle 0.5 1 Lb_ClimbLadder2
   AnimationStateMachine.AddTransitionOne c_PIThrottle -1 -0.5 Lb_ClimbLadder2B
   AnimationStateMachine.SetSpeed 1.0 0 0
   AnimationStateMachine.SetMorphFactor 1.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.CreateState Lb_ClimbLadder1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder1Lower.baf 4.8 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Lb_ClimbLadderIdle2
   AnimationStateMachine.SetSpeed 0.7 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState Lb_ClimbLadder1B
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder2Lower.baf -5.6 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Lb_ClimbLadderIdle2
   AnimationStateMachine.SetSpeed 0.7 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState Lb_ClimbLadder2
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder2Lower.baf 4.8 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Lb_ClimbLadderIdle1
   AnimationStateMachine.SetSpeed 0.7 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState Lb_ClimbLadder2B
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder1Lower.baf -5.6 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Lb_ClimbLadderIdle1
   AnimationStateMachine.SetSpeed 0.7 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState Lb_ClimbLadderEnd1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderEnd1Lower.baf 2 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Lb_ClimbLadderExit
   AnimationStateMachine.SetSpeed 1 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState Lb_ClimbLadderEnd2
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderEnd2Lower.baf 2 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Lb_ClimbLadderExit
   AnimationStateMachine.SetSpeed 1.0 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState Lb_ClimbLadderExit
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderExitLower.baf 2 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone StopClimbing
   AnimationStateMachine.SetSpeed 1.0 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmHideWeapon
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.SetFlag c_AsmLockFreeLook
   AnimationStateMachine.SetSoundTrigger c_SstClimbLadder
   AnimationStateMachine.CreateState StopClimbing
   REM *************** UPPER BODY ******************
   rem --- Climb ladder ----
   AnimationStateMachine.CreateState Ub_ClimbLadderStart1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderStart1Upper.baf 1.4 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderIdle1
   AnimationStateMachine.SetSpeed 1.0 0 0
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadderIdle1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderIdle1Upper.baf 1 c_AsmLooping
   AnimationStateMachine.AddTransitionOne c_PIThrottle 0.5 1 Ub_ClimbLadder1
   AnimationStateMachine.AddTransitionOne c_PIThrottle -1 -0.5 Ub_ClimbLadder1B
   AnimationStateMachine.SetMorphFactor 1.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadderIdle2
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderIdle2Upper.baf 1 c_AsmLooping
   AnimationStateMachine.AddTransitionOne c_PIThrottle 0.5 1 Ub_ClimbLadder2
   AnimationStateMachine.AddTransitionOne c_PIThrottle -1 -0.5 Ub_ClimbLadder2B
   AnimationStateMachine.SetMorphFactor 1.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadder1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder1Upper.baf 4.8 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderIdle2
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadder1B
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder2Upper.baf -5.6 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderIdle2
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadder2
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder2Upper.baf 4.8 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderIdle1
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadder2B
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadder1Upper.baf -5.6 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderIdle1
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadderEnd1
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderEnd1Upper.baf 2 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderExit
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadderEnd2
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderEnd2Upper.baf 2 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone Ub_ClimbLadderExit
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing
   AnimationStateMachine.CreateState Ub_ClimbLadderExit
   AnimationStateMachine.AddAnimation animations/3P_NoWeapon/3PClimbLadderExitUpper.baf 2 c_AsmPlayOnce
   AnimationStateMachine.AddTransitionWhenDone StopClimbing
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.SetFlag c_AsmIsClimbing


Go to the AnimationStateMachine properties list page, AnimationStateMachine page, All Properties list, or Main scripting page.