Hello everyone,
I’m making a modular weapon system and I’m trying to let every weapon inherit the same functions using a custom class. However, when I try to reference a method on the child it gives an error even though self.has_method("Use")
returns true
func On_Use():
if self.Equipped and self.has_method("Use"):
print(self.Use()) <-- This throws an error
The error in question:
Function "Use()" not found in base self
lmk if you need more info, Thanks