function setNpcAnimation (server-side)
Available since version: 0.3.0
Sets an NPC's persistent animation, including looping animations. All current and future viewers receive this state. Finite queued actions take precedence.
Declaration
boolean setNpcAnimation(number npc_id, string animation)
Parameters
numbernpc_id: Server NPC id.stringanimation: Gothic animation name; an empty string clears it.
Returns boolean
True if the state was accepted; does not validate client assets.