AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [l4d2]Particle effect (https://forums.alliedmods.net/showthread.php?t=324881)

AK978 05-30-2020 09:08

[l4d2]Particle effect
 
How to use simple methods to make particles appear again after disappearing?
only timer check?

https://cdn.discordapp.com/attachmen...3/Untitled.png

https://cdn.discordapp.com/attachmen...0/Untitled.png

Marttt 05-30-2020 23:22

Re: [l4d2]Particle effect
 
I didn't understand because I already noticed 3 behaviors with particles.

1) I notice that sometimes the particles seems to disappear after a while (reason: Unknown)
2) Some particles has a "infinite" loop so you don't need to use a timer to re-fire
3) Some particles fire only once, and I think that Silvers made something similar to refire it
Was something like this (then you need to know how long you want to w8 to refire):

PHP Code:

                    AcceptEntityInput(particle"Start");
                    
SetVariantString("OnUser1 !self:Stop::2.95:-1");
                    
AcceptEntityInput(particle"AddOutput");
                    
SetVariantString("OnUser1 !self:FireUser2::3:-1");
                    
AcceptEntityInput(particle"AddOutput"); 


AK978 05-31-2020 00:40

Re: [l4d2]Particle effect
 
thank you.
i will test.


All times are GMT -4. The time now is 17:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.