Frictional Games Forum (read-only)
Guardian Slime Spawn - 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: Guardian Slime Spawn (/thread-18752.html)



Guardian Slime Spawn - 4WalledKid - 10-12-2012

Ok I'm making a custom story where you are running in the forest and the Guardian or Shadow is following you.
I want the red slime to appear in front of the player when it collide with an area. I already made the script and the areas and everything. I used SetEntityActive and it spawns the slime, but I don't want it to just appear. I want it to fade in. Like in the main story. What can I do? Thanks in advance.


RE: Guardian Slime Spawn - The chaser - 10-12-2012

I think you must use "SetPropActiveAndFade("entity", true, time it lasts);"


RE: Guardian Slime Spawn - 4WalledKid - 10-12-2012

(10-12-2012, 11:42 PM)The chaser Wrote: I think you must use "SetPropActiveAndFade("entity", true, time it lasts);"
It worked!! THANKS Big Grin