fix state and make animations loop, refactoring animals ai
This commit is contained in:
@@ -20,6 +20,6 @@ script = ExtResource("3_8d0tj")
|
||||
state_id = &"patrol"
|
||||
next_state_id = &"idle"
|
||||
animation_name = "custom/walking"
|
||||
wait_time = 0.0
|
||||
exit_on_action_finished = true
|
||||
|
||||
[editable path="HumanMannequin"]
|
||||
|
||||
@@ -14,7 +14,7 @@ script = ExtResource("3_2oda6")
|
||||
state_id = &"patrol"
|
||||
next_state_id = &"gather"
|
||||
animation_name = "custom/walking"
|
||||
wait_time = 0.0
|
||||
exit_on_action_finished = true
|
||||
|
||||
[node name="GatherState" type="Node" parent="StateMachine" index="1" unique_id=48091671]
|
||||
script = ExtResource("4_2oda6")
|
||||
@@ -22,6 +22,5 @@ state_id = &"gather"
|
||||
next_state_id = &"patrol"
|
||||
animation_name = "custom/gather"
|
||||
exit_on_animation_finished = true
|
||||
wait_time = 1.0
|
||||
|
||||
[editable path="HumanMannequin"]
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user