Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5352
Auto-translated
Help a newbie with a script to add animation to a creature on the map. I followed a guide...
PlayObjectAnimation (Men, happy, IDLE);
SetObjectEnabled (Gad, nil);
PlayObjectAnimation (Gad, death, ONESHOT_STEEL);

This script is for joy and death animations for two creatures. The console gives an error; do I need triggers and "end" here? Or something else? Please provide a correct example.