CreateParticleSystem not working - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: CreateParticleSystem not working (/thread-14025.html) |
CreateParticleSystem not working - Damascus - 03-16-2012 I've created a ScriptArea that i want to produce a whirl of dust. When the player completes a puzzle, they hear a roar in the distance, and a whirl of dust blows out the nearby torches. I've called the ScriptArea "WhirlArea," and here's the script I have set up: Spoiler below!
The sound plays, and the lights go out, but there is no whirl of dust. Any reason why this might be happening? RE: CreateParticleSystem not working - Equil - 03-16-2012 trying putting .ps in CreateParticleSystemAtEntity, i.e CreateParticleSystemAtEntity("", "ps_dust_whirl", "AreaWhirl", false); You're missing the .ps there, try putting "ps_dust_whirl.ps" . RE: CreateParticleSystem not working - Damascus - 03-16-2012 Made the change, but the particle system still won't appear. RE: CreateParticleSystem not working - Equil - 03-16-2012 Very odd.. I just did some testing on my map with that. It seems to appear fine for me. Here's the code: Code: void OnStart() { Try adjusting the position of the area you are creating the particle at also. RE: CreateParticleSystem not working - Damascus - 03-16-2012 (03-16-2012, 08:59 AM)Damascus Wrote: I've called the ScriptArea "WhirlArea," and here's the script I have set up:How is it i can spend hours going over the script before posting, and then only notice what I did wrong five minutes after I post? RE: CreateParticleSystem not working - Equil - 03-16-2012 It happens! Can't believe I didn't notice that either x.x |