enemy stun is working now, needs timeout

This commit is contained in:
Derek
2025-04-22 08:26:14 -05:00
parent 362b0a5708
commit 3a58b2f49d
4 changed files with 39 additions and 14 deletions

View File

@@ -105,16 +105,6 @@ func _on_postfire_timer_timeout():
postfire_timer.start()
func _on_knocked_timer_timeout():
print("KNOCK TIMEOUT")
velocity = Vector3(0,0,0)
knocked = false
func _on_stunned_timer_timeout():
print("STUN TIMEOUT")
stunned = false
func fire(barrel):
var instance_bullet = bullet.instantiate()
instance_bullet.position = barrel.global_position