Frictional Games Forum (read-only)

Full Version: Particule System Activation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I activate a particule system. I've been trying for 30 minute straight and I hope someone can help me?
You can use CreateParticleSystemAtEntity.

Syntax:
CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);
(02-24-2011, 01:23 AM)junkfood2121 Wrote: [ -> ]You can use CreateParticleSystemAtEntity.

Syntax:
CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);

Can you give me an example of the script please ?
Code:
CreateParticleSystemAtEntity("Dust", "ps_dust_impact_vert.ps", "Step_1", false);
"Dust" - Some name if you plan on doing other stuff I guess.
"ps_dust_impact_vert.ps" - The PS Effect
"Step_1" - Area that the ps effect shall be created at
"false" - Not sure about this either
(02-24-2011, 01:29 AM)junkfood2121 Wrote: [ -> ]
Code:
CreateParticleSystemAtEntity("Dust", "ps_dust_impact_vert.ps", "Step_1", false);
"Dust" - Some name if you plan on doing other stuff I guess.
"ps_dust_impact_vert.ps" - The PS Effect
"Step_1" - Area that the ps effect shall be created at
"false" - Not sure about this either

Thanks it works now ! Big Grin