Can EngFunc_PlaybackEvent cause lags/cpu usage?
PHP Code:
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
It may cause a lag when the task is being operated, but other than that, no.
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
Quote:
Maybe this will be better Code:
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
From my experience, a 5-second repeated task will not lag a server.
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
Opss...i saw 0.5 not 5.0 :crab:
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
Well, would be better to create an entiy which think each x seconds instead of using set_task.
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
ok thanks for answers
@arkshine: ill do that ;) |
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
Or use the magic ent, it thinks every 0.3sec, so use a counter and launch the code when the counter %15 = 0, every 4.5 sec decals will be removed.
Tested and working : PHP Code:
|
Re: Can EngFunc_PlaybackEvent cause lags/cpu usage?
wow, thanks! :p
|
| All times are GMT -4. The time now is 08:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.