PreloadParticleSystem - 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: PreloadParticleSystem (/thread-18370.html) |
PreloadParticleSystem - GoranGaming - 09-16-2012 What do you use the PreloadParticleSystem for? The wiki says that it "Preloads a particle system". I still don't understand :/ RE: PreloadParticleSystem - Tomato Cat - 09-16-2012 It loads the particle system at the start rather than when the function is called. I think. RE: PreloadParticleSystem - Apjjm - 09-16-2012 In a nutshell: Reading from disk is slow - therefore it is better to do the reading from disk on the loading screen, rather than interrupting game-play with a lag-spike while the particle system is loaded. So if you are creating particle systems through script then it is generally advised to pre-load them in your OnEnter event. Same logic behind preload sound. RE: PreloadParticleSystem - GoranGaming - 09-16-2012 Thanks |