Frictional Games Forum (read-only)

Full Version: Activating Particle Effects
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Guys. Just wondering something

Could you do

Void Func1(string &in asEntity) (Dunno if thats correct but that part doesn't matter)

{
SetEntityActive("ParticleSytemHere", true);
}

Just wondering if this works because I'm kinda stumped why It's not working for me.

I have a door and when you go to open it I have a Loud Impact noise to scare you and I though some wood debris would be a nice effect but I never see it. Did I do this wrong.

Thanks
-Grey Fox
Nope;
http://wiki.frictionalgames.com/hpl2/amn..._functions

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

Creates a particle system on an entity.

asPSName - internal name
asPSFile - the particle system to use + extension .ps
asEntity - the entity to create the particle system at
abSavePS - determines whether a particle system should “remember” its state
So I do I even need a particle system in the level editor? or can I just delete the ones i had and use this way?
They don't need to be in the editor. That function creates a ps at desired entity anytime anywhere.
Alright thank you. Your a Big Help.