+1 vote

So i have a bandit script that extends currently to my entity script but i also want it to extend to my follow script how do i do that?

in Engine by (392 points)

1 Answer

+1 vote

I believe it's not possible in GDScript, probably due to The Diamond Problem

The solution is to add your follow script as a child of your node. This is what the Godot's node system designed for.

I've also edited my answer to your other question in accordance to this.

by (4,085 points)

Sorry for my ignorance, but how i could do that?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.