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
Particles
hoppem Offline
Junior Member

Posts: 44
Threads: 13
Joined: Nov 2011
Reputation: 1
#1
Particles

can you set a particle system active using set entity active cuz i know its not an entity so im a bit confused Huh
12-17-2011, 05:32 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Particles

It's not an entity, so you use

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

(This post was last modified: 12-17-2011, 06:03 AM by flamez3.)
12-17-2011, 06:03 AM
Find
hoppem Offline
Junior Member

Posts: 44
Threads: 13
Joined: Nov 2011
Reputation: 1
#3
RE: Particles

then why can you make it active and inactive?
12-18-2011, 04:38 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Particles

(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.
12-18-2011, 04:48 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#5
RE: Particles

(12-18-2011, 04:38 AM)hoppem Wrote: then why can you make it active and inactive?
Idk really

12-18-2011, 04:49 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#6
RE: Particles

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.
12-18-2011, 05:18 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#7
RE: Particles

(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.

12-18-2011, 08:51 AM
Find




Users browsing this thread: 1 Guest(s)