Frictional Games Forum (read-only)
Particule System Activation - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Particule System Activation (/thread-6697.html)



Particule System Activation - lightsheik - 02-24-2011

How can I activate a particule system. I've been trying for 30 minute straight and I hope someone can help me?


RE: Particule System Activation - Linus Ågren - 02-24-2011

You can use CreateParticleSystemAtEntity.

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


RE: Particule System Activation - lightsheik - 02-24-2011

(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 ?


RE: Particule System Activation - Linus Ågren - 02-24-2011

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


RE: Particule System Activation - lightsheik - 02-25-2011

(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