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 83 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
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
      • JezuzLizardundefined Offline
        JezuzLizardundefined Offline
        JezuzLizard Plutonium Staff
        replied to chasef7 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

        • Login

        • Don't have an account? Register

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