Raised This Month: $12 Target: $400
 3% 

Solved [l4d2]Particle effect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AK978
Senior Member
Join Date: Jun 2018
Old 05-30-2020 , 09:08   [l4d2]Particle effect
Reply With Quote #1

How to use simple methods to make particles appear again after disappearing?
only timer check?




Last edited by AK978; 05-31-2020 at 01:53.
AK978 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-30-2020 , 23:22   Re: [l4d2]Particle effect
Reply With Quote #2

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

Last edited by Marttt; 05-30-2020 at 23:35.
Marttt is offline
AK978
Senior Member
Join Date: Jun 2018
Old 05-31-2020 , 00:40   Re: [l4d2]Particle effect
Reply With Quote #3

thank you.
i will test.

Last edited by AK978; 05-31-2020 at 00:42.
AK978 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21.


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