atttack script starting to work

This commit is contained in:
derek
2025-04-30 16:35:45 -05:00
parent 4ca91fc7b5
commit ca4de10a5e
4 changed files with 35 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ func Enter():
get_new_wander_point()
func Update(delta):
attack_on_sight()
#on timeout change scan direction
if scan_timer > 0:
scan_timer -= delta