Frictional Games Forum (read-only)
How to script a monster halluncation? - 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: How to script a monster halluncation? (/thread-13039.html)



How to script a monster halluncation? - Shives - 02-02-2012

Hi
I want to know how to script this:
The monster dissapears in smoke when you are entering an area
I just know the halluncation but how to script this?
Sorry for bad english Big Grin .


RE: How to script a monster halluncation? - Khyrpa - 02-02-2012

SetEnemyIsHallucination(string& asName, bool abX);

FadeEnemyToSmoke(string& asName, bool abPlaySound);






RE: How to script a monster halluncation? - Tripication - 02-02-2012

There is also a box on the entity tab on the level editor for the monster.