Function: PlayAnimation(spawn, anim, target, hide_type)
Description:
The spawn will play the animation anim type specified. See the Appearance IDs by client in the ReferenceList here https://eq2emu.com/index.php/developers/references
Note that the target and hide_type are optional fields. Setting the hide_type to 1 will mean only the target receives the update. Setting to 2 will exclude the target and send to all others.
Parameters:
spawn(Spawn) - Spawn object representingspawn.anim(int32) - Integer valueanim.target(Spawn) - Spawn objet representingtarget.hide_type(int32) - Integer valuehide_type.
Returns: None.