Frictional Games Forum (read-only)
Making Objects Appear - 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: Making Objects Appear (/thread-9324.html)



Making Objects Appear - Angerpull - 07-23-2011

Hello I was wondering how to make an object appear. You know how monsters disappear, into smoke. I want an object to appear with that smoke effect IF that's possible.

Any way to do this? At all?

And if you can, could anyone of you give a script for it.

The name of the object is Smoke_Knight
The Script area is called SmokeKnight

Thanks in advance!

Angerpull Angel


RE: Making Objects Appear - MrCookieh - 07-23-2011

well for appearing, you can use this
SetEntityActive("Smoke_Knight", true);

and for the smoke effect, this one should look like some sort of smoke:
CreateParticleSystemAtEntity("", "ps_break_wood", "Smoke_Knight", false);