this post was submitted on 10 Aug 2023
1 points (100.0% liked)

Godot: The open source game engine

1 readers
0 users here now

A community for discussion and support in development with the Godot game engine.

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/Fitters05 on 2023-08-10 17:30:45.


The point of this set of methods is to create a new instance of "Unit", the template for the enemies, and to set its script based on the name, but it gives the error "invalid function set_script in base control Unit.gd" and that it can't convert a string to an object even though "card" is an object.

Any help would be appreciated!!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here