Skip to content

function startFaceAni (client-side)

Available since version: 0.1.5.3

This function is used to play face animation on hero/npc.

Declaration

bool startFaceAni(int id, string aniName)

Parameters

  • int id: the player id.
  • string aniName: the name of the animation, e.g: "S_FRIENDLY".

Returns bool

toggle true if face animation was successfully played, otherwise false.