I'm trying to write a script for a 'Rage' mechanic. Problem: if I check health every tick, the server might lag with 100+ entities. Is there a built-in event listener like 'entity.onHealthUpdate' that only triggers when a value actually changes?
I'm trying to write a script for a 'Rage' mechanic. Problem: if I check health every tick, the server might lag with 100+ entities. Is there a built-in event listener like 'entity.onHealthUpdate' that only triggers when a value actually changes?