Entity::isPlayingAnim: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
See also Player::IS_SCRIPTED_SCENARIO_Player_USING_CONDITIONAL_ANIM 0x6EC47A344923E1ED 0x3C30B447<br><br>Taken from ENTITY::IS_ENTITY_PLAYING_ANIM(PLAYER::PLAYER_Player_ID(), 'creatures@shark@move', 'attack_player', 3)<br><br>p4 is always 3 in the scripts.<br><br>Animations List : www.ls-multiplayer.com/dev/index.php?section=3
See also Player::IS_SCRIPTED_SCENARIO_Player_USING_CONDITIONAL_ANIM 0x6EC47A344923E1ED 0x3C30B447<br><br>Taken from ENTITY::IS_ENTITY_PLAYING_ANIM(PLAYER::PLAYER_Player_ID(), 'creatures@shark@move', 'attack_player', 3)<br><br>p4 is always 3 in the scripts.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">entity.isPlayingAnim(animDict, animName, p4);</syntaxhighlight>
<syntaxhighlight lang="javascript">entity.isPlayingAnim(animDict, animName, p4);</syntaxhighlight>
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 17:55, 1 May 2024

See also Player::IS_SCRIPTED_SCENARIO_Player_USING_CONDITIONAL_ANIM 0x6EC47A344923E1ED 0x3C30B447

Taken from ENTITY::IS_ENTITY_PLAYING_ANIM(PLAYER::PLAYER_Player_ID(), 'creatures@shark@move', 'attack_player', 3)

p4 is always 3 in the scripts.

Syntax

entity.isPlayingAnim(animDict, animName, p4);

Required Arguments

  • animDict: String
  • animName: String
  • p4: int

Return value

  • Boolean

Example

// todo

See also