remove TE_DLIGHT after it's executed
Is there any way to remove a TE_DLIGHT ?
I set the life to 255 and decay rate to 0, and it lasts 25.5 seconds, but after the new round it's still there if it's set at the roundend... my question is how can I remove TE_DLIGHTS on command ? :) |
Re: remove TE_DLIGHT after it's executed
I guess resend it but with a short life like 1 ( 0.1 second ).
|
Re: remove TE_DLIGHT after it's executed
Quote:
One thing you could do is send it with a much shorter life, and keep updating it until the round ends. |
Re: remove TE_DLIGHT after it's executed
After how many would an old one remove itself ? :?
|
Re: remove TE_DLIGHT after it's executed
Depends on its life. Life is in deciseconds (10 deciseconds == 1 second)
|
Re: remove TE_DLIGHT after it's executed
Yes I know, I said, it has 255, 25.5 seconds, but I asked how many dynamic lights can be "live" in the same time ?
I tested sending 16 lights at origin 8192 with color 1/1/1, 10 life and 10 decay rate Or are you saying all messages with the same life value can only be some of each ? if I send another message with 255 life and 255 decay would the rest go away ? EDIT: I tried just now 24 messages with 255 life and 255 decay, didn't work, after that with 32 messages, that worked... sounds like spam with 32 lights sent at roundstart... :/ isn't there any other way ? :? |
Re: remove TE_DLIGHT after it's executed
are you using the TE_DLIGHT cuz you want the light to have a color? else you can create an entity and
PHP Code:
|
Re: remove TE_DLIGHT after it's executed
No, I want that slow fadeout light that lasts some little time (I send only one), TE_DLIGHT is perfect, there's no replacement
|
| All times are GMT -4. The time now is 01:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.