Frictional Games Forum (read-only)
CreateParticleSystem - 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: CreateParticleSystem (/thread-5548.html)



CreateParticleSystem - LoneWolf - 11-27-2010

CreateParticleSystemAtEntity("111", "ps_break_cavein.ps", 0, false);

wont work... name is 111 what am i doing wrong?
everything is good apart from this line.


RE: CreateParticleSystem - Kyle - 11-27-2010

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

If you can see, string& asPSName is NOT the name of where it happens.

If "111" is the name of the entity of where it shall happen, then this is how it should be: CreateParticleSystemAtEntity("", "ps_break_cavein.ps", "111", false);