![]() |
Preloads doesnt really work :S - 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: Preloads doesnt really work :S (/thread-15371.html) |
Preloads doesnt really work :S - neocrawler - 05-11-2012 Heey everyone, I was kinda getting ennoyed that preloads doesnt really work. Proberly I do it wrong heres and example how I do it. Quote: AddEntityCollideCallback("Player", "ScriptArea_4", "Collide_ScriptArea_4", true, 1); RE: Preloads doesnt really work :S - Putmalk - 05-11-2012 Preloads don't spawn a particle system, you're looking for: CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS); source: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions Preloading is only done in the OnEnter function, and I don't necessarily know the purpose of it - I do believe it removes the lag that happens when events fire. RE: Preloads doesnt really work :S - neocrawler - 05-11-2012 Okay thanks didnt know that ![]() |