Particle Duration

Discussion in 'Plugin Development' started by MattTheBeast, Dec 29, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    MattTheBeast

    Hi so I'm making a plugin that displays particles using DarkBlade12's ParticleEffect api. In my plugin the particle duration (How long the particle lasts before it dissapears) is crutial. I was wondering if anybody knows how to modify this duration. In my case specifically, I'm trying to lower the duration. Thanks for the help.
     
  2. Offline

    Tabuu_

    You can't set the duration of a particle as far as I know...
     
  3. Offline

    MattTheBeast

    Do you think its possible to cancel the particle effect after is has spawned?
     
  4. Offline

    Max8801

    I think you can't. Here is how the particle system works: The server sends a packet to the client telling it where to spawn which particle. After that packet was received, the server is basically out of the game, as the particle rendering is handled by the client. To modify or even to delete a certain particle, there would have to be some kind of ID for each particle in each player's world which would quickly burst each server's RAM.
     
  5. Offline

    MattTheBeast

    @Max8801

    Ok I understand, thanks for the help
     
  6. Offline

    Max8801

    You're welcome
     
Thread Status:
Not open for further replies.

Share This Page