PS error! - 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: PS error! (/thread-9036.html) |
PS error! - SLAMnesia - 07-09-2011 OK! I have asked this before but I think the only way I will understand particle systems is if someone translates the script into english for me CreateParticleSystemAtEntity("1", "2", "3", 4); what do 1, 2, 3 and 4 represent in this function? RE: PS error! - Tanshaydar - 07-09-2011 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 http://wiki.frictionalgames.com/hpl2/amnesia/script_functions RE: PS error! - DRedshot - 07-09-2011 1 - this is the name of the particle system, this can be named anything you want, and can also be left blank, it is a string, 2 - this is the name of the ps you want to use, these are found in Redist>Particles , also a string 3 - this is the name of the entity which the particle will be created at 4 - this is a boolean (true/false) for whether the ps will be saved (usually you want this to be false, although im not sure what it does) RE: PS error! - SLAMnesia - 07-11-2011 For #3, how do I make the PS face a certain direction? and this doesn't work CreateParticleSystemAtEntity("", "ps_dust_elevator_crash.ps", "treeee", false); anndd.. what's a string? RE: PS error! - Tanshaydar - 07-11-2011 For certain direction, place the area in certain direction. A string is a set of characters. |