Frictional Games Forum (read-only)
[SCRIPT] Force an enemy to play an animation - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Force an enemy to play an animation (/thread-24939.html)



Force an enemy to play an animation - Neelke - 03-28-2014

Now, is this possible? I've tried myself and doesn't seem to work.


RE: Force an enemy to play an animation - DnALANGE - 03-28-2014

Here is example i did :
PHP Code:
PlayPropAnimation("NAMEOFYOURENEMY""StreetsScene7"0.0ffalse""); 
-
StreetsScene7 = the name of your anaimation you want to play.
It MAY be that you should do this : StreetsScene7.anm
I am not sure anymore about that. try it WITHOUT .anm first.