Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Delete effect?

Delete effect?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 3 Posters 208 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • chasef7undefined Offline
    chasef7undefined Offline
    chasef7
    Banned
    wrote on last edited by
    #1

    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 );

    JezuzLizardundefined 1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote on last edited by
      #2

      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 it

      self.slipgun_splatter_fx = playfx( level._effect["slipgun_splatter"], origin );
      wait 5;
      self.slipgun_splatter_fx delete();
      
      1 Reply Last reply
      0
      • chasef7undefined chasef7

        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 );

        JezuzLizardundefined Offline
        JezuzLizardundefined Offline
        JezuzLizard
        Plutonium Staff
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0

        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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Donate