(11-13-2011, 05:32 PM)TheDavenia Wrote: I don't need it right now but thanks anyways
Could you help me with something?
I want particle systems to activate when the player walks into an area... how do i do that...?
First, make two script areas. "Area1", the player will walk into to make the particle appear. "Area2", put where you want the particle system to occur.
Then, Script this, filling in capitalized parts with your info:
//_______________________________
void OnStart()
{
AddEntityCollideCallback("Player", "Area1", "Particle_func" true, 1);
}
void Particle_func(string &in asParent, string &in asChild, int alState)
{
CreateParticleSystemAtEntity("", "PARTICLESYSTEM.ps", "Area2", false);
}
//_______________________________
This should do it. I'm going paintballing now, so I wish you luck! =]