Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Particle System
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#1
Particle System

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
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 Big Grin


...
05-29-2011, 07:08 PM
Find
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#2
RE: Particle System

{
CreateParticleSystemAtEntity("paper", "ps_dust_paper_blow.ps", "paper", false);
}

Do you have an object or area which is called "paper"?

[Image: 18694.png]
05-29-2011, 07:17 PM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#3
RE: Particle System

Since it is a paper blow particle system, perhaps it is blowing in the wrong direction causing it to be unnoticable? I recently tried a CreateParticleSystemAtEntity and it works fine. It had to do with rain and when it becomes activated.

The first space can be left blank. It is just the particle system's local name.

05-29-2011, 07:39 PM
Find
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#4
RE: Particle System

An Object Big GrinBig GrinBig GrinBig Grin

...
05-29-2011, 08:08 PM
Find




Users browsing this thread: 1 Guest(s)