Delete effect?
-
Hello, does anyone know how I can either edit this effects time length, which I don't think is possible, or how I can delete it after a certain time?
playfx( level._effect["slipgun_splatter"], origin );
-
I don't have the answer but until a pro answers I can try to help you.
Can you try storing the FX in a variable then calling the delete function on it after some time?
Something similar to this. The same way, you could try calling the destroy function on itself.slipgun_splatter_fx = playfx( level._effect["slipgun_splatter"], origin ); wait 5; self.slipgun_splatter_fx delete(); -
Hello, does anyone know how I can either edit this effects time length, which I don't think is possible, or how I can delete it after a certain time?
playfx( level._effect["slipgun_splatter"], origin );
chasef7 If you want to be able to delete it early you need to get a reference to it. You can try using playFXOnTag() to play the fx on an entity and then you can delete the entity early to delete the fx.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login