Skip to content

Commit

Permalink
Update TaskPlayAnimAdvanced.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlsonz committed Nov 22, 2024
1 parent d0bfa9d commit c9cb599
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions TASK/TaskPlayAnimAdvanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ Similar in functionality to [`TASK_PLAY_ANIM`](#_0xEA47FE3719165B94), except the
## Parameters
- **ped**: The ped you want to play the animation
- **animDictionary**: The animation dictionary
- **animationName**: The animation name
- **posX**: Initial X position of the task
- **posY**: Initial Y position of the task
- **posZ**: Initial Z position of the task
- **rotX**: Initial X rotation of the task
- **rotY**: Initial Y rotation of the task
- **rotZ**: Initial Z rotation of the task
- **blendInSpeed**: The speed at which the animation blends in. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
- **blendOutSpeed**: The speed at which the animation blends out. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
- **duration**: The duration of the animation in milliseconds. -1 will play the animation until canceled
- **flag**: See [`TASK_PLAY_ANIM`](#_0xEA47FE3719165B94)
- **animTime**: Value between 0.0 and 1.0, lets you start an animation from the given point
- **rotationOrder**: 2 is most common. See [`GET_ENTITY_ROTATION`](#_0xAFBD61CC738D9EB9)
- **ikFlags**: Inverse kinematics flags. Default is 0.
- * **ped**: The ped you want to play the animation
- * **animDictionary**: The animation dictionary
- * **animationName**: The animation name
- * **posX**: Initial X position of the task
- * **posY**: Initial Y position of the task
- * **posZ**: Initial Z position of the task
- * **rotX**: Initial X rotation of the task
- * **rotY**: Initial Y rotation of the task
- * **rotZ**: Initial Z rotation of the task
- * **blendInSpeed**: The speed at which the animation blends in. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
- * **blendOutSpeed**: The speed at which the animation blends out. Lower is slower and higher is faster, 1.0 is normal, 8.0 is basically instant
- * **duration**: The duration of the animation in milliseconds. -1 will play the animation until canceled
- * **flag**: See [`TASK_PLAY_ANIM`](#_0xEA47FE3719165B94)
- * **animTime**: Value between 0.0 and 1.0, lets you start an animation from the given point
- * **rotationOrder**: 2 is most common. See [`GET_ENTITY_ROTATION`](#_0xAFBD61CC738D9EB9)
- * **ikFlags**: Inverse kinematics flags. Default is 0.

0 comments on commit c9cb599

Please sign in to comment.