Entity::isPlayingAnim: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
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>

Revision as of 16:19, 4 January 2018

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