Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Particule System Activation
lightsheik Offline
Junior Member

Posts: 17
Threads: 5
Joined: Feb 2011
Reputation: 0
#1
Particule System Activation

How can I activate a particule system. I've been trying for 30 minute straight and I hope someone can help me?
02-24-2011, 01:09 AM
Find
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#2
RE: Particule System Activation

You can use CreateParticleSystemAtEntity.

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

Creator of The Dark Treasure.
02-24-2011, 01:23 AM
Website Find
lightsheik Offline
Junior Member

Posts: 17
Threads: 5
Joined: Feb 2011
Reputation: 0
#3
RE: Particule System Activation

(02-24-2011, 01:23 AM)junkfood2121 Wrote: You can use CreateParticleSystemAtEntity.

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

Can you give me an example of the script please ?
02-24-2011, 01:27 AM
Find
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#4
RE: Particule System Activation

CreateParticleSystemAtEntity("Dust", "ps_dust_impact_vert.ps", "Step_1", false);
"Dust" - Some name if you plan on doing other stuff I guess.
"ps_dust_impact_vert.ps" - The PS Effect
"Step_1" - Area that the ps effect shall be created at
"false" - Not sure about this either

Creator of The Dark Treasure.
02-24-2011, 01:29 AM
Website Find
lightsheik Offline
Junior Member

Posts: 17
Threads: 5
Joined: Feb 2011
Reputation: 0
#5
RE: Particule System Activation

(02-24-2011, 01:29 AM)junkfood2121 Wrote:
CreateParticleSystemAtEntity("Dust", "ps_dust_impact_vert.ps", "Step_1", false);
"Dust" - Some name if you plan on doing other stuff I guess.
"ps_dust_impact_vert.ps" - The PS Effect
"Step_1" - Area that the ps effect shall be created at
"false" - Not sure about this either

Thanks it works now ! Big Grin
02-25-2011, 12:36 AM
Find




Users browsing this thread: 1 Guest(s)