I am currently making a SWEP that happens to create a decal onto anything it hits. The issue here is that I cannot remove the decals after a set period of time or if the player leaves/dies.
I would like to be able to remove the decals that are spawned after say about a minute however I cannot remove them as the only way I know how to remove decals is by removing all of them.
I would like to know if either of the following could be possible.
1. Is there a trick to manipulate the decal system and make those particular decals removable?
2. Is there another system to replicate the effect of a decal but have it be removable?
3. Would EFFECT:Init() etc. Help me in any way?
If you have an answer to any of these could you possibly go into a bit of detail and link me to where I could learn the method?
Added: I use util.TraceLine() and it basically creates the decals atm using util.Decal()
Does the swep fire a tracer or bullet?
I use util.TraceLine() and it basically creates the decals atm using util.Decal()
Well if it is just creating a decal, you could simply make an effect that looks like the decal and use that instead. More complicated but allows for what you want.
I know that is possible but could someone link me to how to make an effect?
Sorry, you need to Log In to post a reply to this thread.