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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CreateParticleSystem
LoneWolf Offline
Senior Member

Posts: 308
Threads: 43
Joined: Sep 2010
Reputation: 0
#1
CreateParticleSystem

CreateParticleSystemAtEntity("111", "ps_break_cavein.ps", 0, false);

wont work... name is 111 what am i doing wrong?
everything is good apart from this line.
(This post was last modified: 11-27-2010, 08:56 PM by LoneWolf.)
11-27-2010, 08:54 PM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: CreateParticleSystem

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

If you can see, string& asPSName is NOT the name of where it happens.

If "111" is the name of the entity of where it shall happen, then this is how it should be: CreateParticleSystemAtEntity("", "ps_break_cavein.ps", "111", false);

11-27-2010, 09:42 PM
Find




Users browsing this thread: 1 Guest(s)