SetSpeed Property

Usage:
   AnimationStateMachine.SetSpeed number number number

Argument values:

argument 1:    range is 0 to 6.0; most commonly 1.0
argument 2:    range is 0 to 1; most commonly 0
argument 3:    range is 0 to 1; most commonly 0

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

Used in a total of 11 .con files: Animationstatesclimb.con, Animationstatescrouching.con, Animationstatesexplosionfly.con, Animationstateshit.con, Animationstatesjump.con, Animationstateslie.con, Animationstateslower.con, Animationstatesparachute.con, Animationstatesrocketeering.con, Animationstatesswim.con, Animationstatesvehicle.con

Parent directory of these .con files: Animations

Example: (from Animations/AnimationStatesJump.con)
   rem Jump
   rem *** ------- LOWER BODY ------
   rem
   rem --- Jump ----
   AnimationStateMachine.CreateState Lb_StandJump
   AnimationStateMachine.SetSoundTrigger c_SstJump
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/LowerBody/3pJumpStandLower.baf 0.8 0
   AnimationStateMachine.AddTransitionWhenDone Lb_Stand
   AnimationStateMachine.SetSpeed 1 1 1
   AnimationStateMachine.SetMorphFactor 4.0
   AnimationStateMachine.CreateState Lb_RunJump
   AnimationStateMachine.SetSoundTrigger c_SstJump
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/LowerBody/3pJumpRunLower.baf 1.0 0
   AnimationStateMachine.AddTransitionWhenDone Lb_RunForward
   AnimationStateMachine.SetSpeed 1 1 1
   AnimationStateMachine.SetMorphFactor 100.0
   AnimationStateMachine.CreateState Lb_RunJumpBackward
   AnimationStateMachine.SetSoundTrigger c_SstJump
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/LowerBody/3pJumpRunLower.baf -1.2 0
   AnimationStateMachine.AddTransitionWhenDone Lb_RunBackward
   AnimationStateMachine.SetSpeed 1 1 1
   AnimationStateMachine.SetMorphFactor 50.0
   rem
   rem *** ------- UPPER BODY ------
   rem
   AnimationStateMachine.CreateState Ub_StandJumpThompson
   AnimationStateMachine.SetOtherState c_AsmFaceState FaceFire1
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/3p/Thompson/3pJumpStandUpperThompson.baf 0.8 0
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/1p/Thompson/1pRunThompson.baf 0.4 1
   AnimationStateMachine.AddTransitionWhenDone Ub_StandAimThompson
   AnimationStateMachine.SetSpeed 1 1 1
   AnimationStateMachine.SetMorphFactor 4.0
   include copyToallWeapons.inc Thompson
   AnimationStateMachine.CreateState Ub_RunJumpThompson
   AnimationStateMachine.SetOtherState c_AsmFaceState FaceFire1
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/3p/Thompson/3PJumpRunUpperThompson.baf 1 0
   AnimationStateMachine.AddAnimation Animations/StandWalkRun/1p/Thompson/1pRunThompson.baf 1.2 1
   AnimationStateMachine.AddTransitionWhenDone Ub_RunForwardThompson
   AnimationStateMachine.SetMorphFactor 100.0


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