10-30-2014, 02:36 PM
10-30-2014, 02:45 PM
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.
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 asParent, string &in asChild, int 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);
}
10-30-2014, 03:07 PM
Nothing.
10-30-2014, 04:11 PM
Nothing.