Set the specified action playback speed||doc135555

September 20, 2022

Format

 Entity:setActionTimeScale(action, scale)
  • The class to which the function belongs:Entity

Description

Sets the playback speed of the entity's specified action.


Precautions

  • The set motion will not be affected by the overall motion playback speed

Parameters

Variable name type Description
action string Action name
scale float Play speed


Code Samples

on the entity object clientmount script, set the playback speed of the entity object 'run' to 0.5 times

this:setActionTimeScale('run', 0.5)