fixed bug where animation function wouldn't animate properly
This commit is contained in:
@@ -9,6 +9,7 @@ class_name Drone
|
||||
var dodge_duration_timer : Timer
|
||||
|
||||
func _ready() -> void:
|
||||
_animate(self.get_child(4,false),"walking")
|
||||
add_on_slots = 1
|
||||
for a in self.get_children() :
|
||||
if a.name == "DodgeDurationTimer" :
|
||||
@@ -19,6 +20,7 @@ func _ready() -> void:
|
||||
|
||||
func class_ability() -> float:
|
||||
#do dash
|
||||
animation_state_machine = MachineGlobals.regular_states.DASHING
|
||||
return dodge_cd
|
||||
|
||||
func listen_to_animation_signals(next_anim_state : MachineGlobals.regular_states) -> void:
|
||||
|
||||
Reference in New Issue
Block a user