Frictional Games Forum (read-only)
[SCRIPT] Fast answer please - 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] Fast answer please (/thread-27051.html)



Fast answer please - Straxedix - 10-30-2014

Nothing.


RE: Fast answer please - Mudbill - 10-30-2014

I'm guessing "Touch" is the name of an area?

It might help to enable it before creating the particle. I don't know if it's possible to create particles at inactive areas.

PHP Code:
void BeginPortal(string &in asParentstring &in asChildint alState)
{
    
SetEntityActive("Touch"true); // Moved this line up here.
    
CreateParticleSystemAtEntity("Poral_Open""ps_orb_room_portal_open.ps""Touch"false);
    
//Remember to create the different particle systems. I don't have the names here.

    
AddTimer("OpenPortal"5"PortalTimer");

    
SetLocalVarInt("PortalOpen"0);




RE: Fast answer please - Straxedix - 10-30-2014

Nothing.


RE: Fast answer please - Straxedix - 10-30-2014

Nothing.