Entity::playAnim: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
Line 1: Line 1:
delta and bitset are guessed fields. They are based on the fact that most of the calls have 0 or nil field types passed in.<br><br>The only time bitset has a value is 0x4000 and the only time delta has a value is during stealth with usually &lt;1.0f values.<br><br>Animations List : www.ls-multiplayer.com/dev/index.php?section=3
delta and bitset are guessed fields. They are based on the fact that most of the calls have 0 or nil field types passed in.<br><br>The only time bitset has a value is 0x4000 and the only time delta has a value is during stealth with usually &lt;1.0f values.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">entity.playAnim(animName, propName, p3, p4, p5, p6, delta, bitset);</syntaxhighlight>
<syntaxhighlight lang="javascript">entity.playAnim(animName, propName, p3, p4, p5, p6, delta, bitset);</syntaxhighlight>

Revision as of 16:30, 14 May 2017

delta and bitset are guessed fields. They are based on the fact that most of the calls have 0 or nil field types passed in.

The only time bitset has a value is 0x4000 and the only time delta has a value is during stealth with usually <1.0f values.

Syntax

entity.playAnim(animName, propName, p3, p4, p5, p6, delta, bitset);

Required Arguments

  • animName: String
  • propName: String
  • p3: float
  • p4: Boolean
  • p5: Boolean
  • p6: Boolean
  • delta: float
  • bitset: unknown (to be checked)

Return value

  • Boolean

Example

// todo

See also