Animations & Movement tweaks
This commit is contained in:
@ -7,8 +7,11 @@ func _ready():
|
||||
$Speaker.speaker_name = "CEO Grant Blevins"
|
||||
$Speaker.speaker = "ceo"
|
||||
$Speaker.connect("dialog_exited", self, "_on_dialog_exit")
|
||||
$AnimationPlayer.play("Idle")
|
||||
$AnimationPlayer.seek(rand_range(0.0, 2.0), true)
|
||||
|
||||
func _on_interact():
|
||||
$Torso.flip_h = global_position.x < player.global_position.x
|
||||
if state == 0:
|
||||
$Speaker.start_dialog("intro_meet_ceo")
|
||||
if player:
|
||||
|
Reference in New Issue
Block a user