How do I instantly get rid of trailing particles?

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

ProfHappycat

L3: Member
Aug 2, 2015
148
i can't seem to get rid of these particles that linger for 2-3 seconds after the finale of my map happens, anyone know how to get rid of them when the next round starts?
FD7B8EAB045E629A971969E31103A708B695F277
 

【EmNudge】

L4: Comfortable Member
Sep 23, 2015
184
Excuse my ignorance as I don't usually deal with particles in my maps, but can't you send the Stop input to it?
If that doesn't work, Kill should do it.

If you've already tried both of those to no avail, feel free to ignore this.
 

ProfHappycat

L3: Member
Aug 2, 2015
148
Excuse my ignorance as I don't usually deal with particles in my maps, but can't you send the Stop input to it?
If that doesn't work, Kill should do it.

If you've already tried both of those to no avail, feel free to ignore this.
Stop doesn't do anything that the round ending wouldn't, and kill removes the entity, which isn't what I want.
Exactol suggested modifying the particles to have a shorter lifetime, so I guess i'll experiment with that later.
 

BigfootBeto

Party Time 2.0!
aa
Jun 8, 2016
488
If you killed the entity before the round ended, even by a frame, would it come back next round?
In my experience, no because
kill removes the entity

As in, it deletes the entity from the current game and won't come back unless you reload the map. This is actually done by valve on occasion for light brushes that emit light for large windows in spytech areas. There's a logic_auto that onMapSpawn, will kill all of those light brushes to not be an issue to the entity count during the game.
 
Mar 23, 2013
1,015
In my experience, no because

That's weird because a new round does respawn entities. There are only few exceptions like env_sprite that doesn't get resetted by a new round at all.
It's easy to test, load a map of yours, type into console "ent_fire <entity-name> kill" and then "mp_restartgame 1". The entity should be back from the dead.
:darkghost:


Buuut I don't think this is the solution to OP's problem, because when you kill a particle entity, the particles often are still there until they disappear on their own. This kinda depends on how the particle effect has been scripted, so OP can give it a shot, but I highly doubt it works in this case.