05-29-2011, 07:08 PM
Hello peoples
I'm trying to create an area and the player walking into the area the particle activated but when I do it nothing happens
Nothing happens could your help?
-X4anco
I'm trying to create an area and the player walking into the area the particle activated but when I do it nothing happens
Code:
void OnStart()
{
AddEntityCollideCallback("Player", "paperarea", "Function01", true, 1);
}
void Function01(string &in asParent, string &in asChild, int alState)
{
CreateParticleSystemAtEntity("paper", "ps_dust_paper_blow.ps", "paper", false);
}
Nothing happens could your help?
-X4anco