Skip to content

function startFaceAni (client-side)

Available since version:

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


bool startFaceAni(int id, string aniName)


  • 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.