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
[URGENT] Destroying Particle Systems
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: [URGENT] Destroying Particle Systems

Let's look at your CreateParticleSystemAtEntity functions:

CreateParticleSystemAtEntity("", "ps_fire_lab_burner.ps", "funnel_1", false);
CreateParticleSystemAtEntity("", "ps_bubbles.ps", "funnel_2", false);

Do you see the empty strings in the first parameters? That means you didn't provide an internal name to your particles for DestroyParticleSystem to reference against. That means DestroyParticleSystem won't be able to find your particles when passing "ps_bubbles" to it. That first parameter for CreateParticleSystemAtEntity is very important when it comes to using DestroyParticleSystem.

Tutorials: From Noob to Pro
01-01-2012, 03:27 AM
Website Find


Messages In This Thread
RE: [URGENT] Destroying Particle Systems - by Your Computer - 01-01-2012, 03:27 AM



Users browsing this thread: 2 Guest(s)