Particles - 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: Particles (/thread-11898.html) |
Particles - hoppem - 12-17-2011 can you set a particle system active using set entity active cuz i know its not an entity so im a bit confused RE: Particles - flamez3 - 12-17-2011 It's not an entity, so you use Code: 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 RE: Particles - hoppem - 12-18-2011 then why can you make it active and inactive? RE: Particles - Statyk - 12-18-2011 (12-18-2011, 04:38 AM)hoppem Wrote: then why can you make it active and inactive?WHY?... So it doesn't repeat itself. Odd question. RE: Particles - flamez3 - 12-18-2011 (12-18-2011, 04:38 AM)hoppem Wrote: then why can you make it active and inactive?Idk really RE: Particles - MrBigzy - 12-18-2011 I think there are some things that have that as an option in the level editor, but don't quite work. For example, disabling lights won't work, you have to do it through scripting; at least in my experience. RE: Particles - flamez3 - 12-18-2011 (12-18-2011, 05:18 AM)MrBigzy Wrote: I think there are some things that have that as an option in the level editor, but don't quite work. For example, disabling lights won't work, you have to do it through scripting; at least in my experience.Exactly, certain things like tables and sofas don't deactivate, just trial and error I guess. |