Frictional Games Forum

Full Version: Preloads doesnt really work :S
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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);

void Collide_ScriptArea_4(string &in asParent, string &in asChild, int alState)
Preloads don't spawn a particle system, you're looking for:

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


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.
Okay thanks didnt know that Big Grin