No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
[LVL EDITOR/SCRIPT HELP] Particle Systems
Hey guys !
I was just wondering, is it possible to make a particle system disappear or gone (Un-active) ?
Ex : The light dust or the area fog or water streams. The loop particle system I'm talking about.
Does it have to do in the level editor or in the script ?
Oh yeah, can you guys make it a simple one if it's possible ?
English isn't my first language. So I hope you'll understand.
|
|
02-10-2013, 01:11 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: [LVL EDITOR/SCRIPT HELP] Particle Systems
In the script. Just:
DestroyParticleSystem("Nameofparticle");
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
02-10-2013, 01:24 PM |
|
No Author
Posting Freak
Posts: 962
Threads: 10
Joined: Jun 2012
Reputation:
13
|
RE: [LVL EDITOR/SCRIPT HELP] Particle Systems
Can I make the particle system active again ?
|
|
02-10-2013, 03:17 PM |
|
The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: [LVL EDITOR/SCRIPT HELP] Particle Systems
You'll need to create the particle system again.
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 shown/hidden state, so that this state can be restored
when the player revisits the level
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
02-10-2013, 03:40 PM |
|