[L4D2] Alpha decay?
I'm trying to create a function in which the entity gradually disappears through the alpha, but it's not working.
If anyone can help me I'll be grateful script is below
Script
|
Re: [L4D2] Alpha decay?
PHP Code:
|
Re: [L4D2] Alpha decay?
Quote:
|
Re: [L4D2] Alpha decay?
need more info, we don't even know which entity classname are you using, you mentioned env_smokestack, but without more code is just a guess
and you code btw you are reseting the alpha everytime to "0" in the else clause, and I hope is just a snippet code, otherwise [2000] array is not enough, sometimes the (network) entities created may be between 1~2048 in L4D2 |
Re: [L4D2] Alpha decay?
I'm not sure it will work.
In your code PHP Code:
So the value you input to entity will always be (255 - 0). |
All times are GMT -4. The time now is 07:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.