For example:
PlayObjectAnimation("priest","attack00",IDLE);
The name must be your own, script-based name. To name a creature with that name, you need to select it, find the Name line in the left panel, and enter the name there (in our case,
priest
).