8 lines
127 B
GDScript3
8 lines
127 B
GDScript3
|
extends "res://scripts/NPC.gd"
|
||
|
|
||
|
func changeState(state):
|
||
|
if state == "Walk":
|
||
|
action = state
|
||
|
else:
|
||
|
action = "Idle"
|