This commit is contained in:
Segey Lapin
2021-12-24 23:56:10 +03:00
parent d401cf1090
commit f62e7fa720
113 changed files with 198252 additions and 412103 deletions

View File

@@ -1,4 +1,4 @@
extends Node
extends AIScriptModule
# Declare member variables here. Examples:
# var a = 2
@@ -6,8 +6,9 @@ extends Node
# Called when the node enters the scene tree for the first time.
func _ready():
var root = get_parent()
func init():
var root = get_character()
assert(root.has_meta("skeleton"))
var cmdq = []
if root.has_meta("cmdqueue"):
cmdq = root.get_meta("cmdqueue")