Перейти к содержанию

Camera::playAnim

Материал из RAGE MP Wiki Archive
Версия от 21:25, 14 июля 2019; imported>Ragempdev
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.

p9 is unknown at this time.
p10 throughout all the X360 Scripts is always 2.

Animations

Syntax

<syntaxhighlight lang="javascript">camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);</syntaxhighlight>

Required Arguments

  • animName: String
  • animDictionary: String
  • x: float
  • y: float
  • z: float
  • xRot: float
  • yRot: float
  • zRot: float
  • p9: Boolean
  • p10: int

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also