Improve algorythm
Is there any way to improve lasermine's algorythm? Right now in the available lasermines set beam and checks in player prethink and postthing. Wouldn't it be more efficient to make lasermine entity think every 0.1 second and do the beam and check the players in beam via traceline in the think event?
|
Re: Improve algorythm
Check out hattrick's low cpu usage tripmine
You could extract some codes from there |
| All times are GMT -4. The time now is 09:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.