initial shit
This commit is contained in:
10
GameShit/PlayerController/ChatSystem/CommandHandler.gd
Normal file
10
GameShit/PlayerController/ChatSystem/CommandHandler.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Node
|
||||
|
||||
## all command variables are stuck in here, idk why i did this but its like 5am and im done with this shit atp
|
||||
|
||||
var lastMessage = ""
|
||||
|
||||
|
||||
func registerCommand(CommandID:String):
|
||||
var parts = CommandID.split(":")
|
||||
return load("res://GameShit/PlayerController/ChatSystem/commands/{namespace}/{id}.gd".format({"namespace": parts[0], "id": parts[1]}))
|
||||
Reference in New Issue
Block a user