Camera::playAnim: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.<br><br>p9 is unknown at this time.<br>p10 throughout all the X360 Scripts is always 2.<br><br>Animations List : www.ls-multiplayer.com/dev/index.php?section=3
Atleast one time in a script for the zRot Rockstar uses GET_ENTITY_HEADING to help fill the parameter.<br><br>p9 is unknown at this time.<br>p10 throughout all the X360 Scripts is always 2.<br><br>Animations  
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);</syntaxhighlight>
<syntaxhighlight lang="javascript">camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);</syntaxhighlight>
Line 20: Line 20:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Camera_function_c}}
{{Camera_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:25, 14 July 2019

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

camera.playAnim(animName, animDictionary, x, y, z, xRot, yRot, zRot, p9, p10);

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

// todo

See also