So basically, i have an export_enum that handles what the enemy should move

and a function that calls a function depending on the export chosen

Unfortunately when i try this, it comes up with an error. What am i doing wrong?

  • xyz replied to this.
  • SuperMatCat24 String passed to call() should contain only the name of the function, without parentheses.

    SuperMatCat24 String passed to call() should contain only the name of the function, without parentheses.

    9 months later

    var a = CallFunc

    $Node.call(str(CallFunc))
    For Godot 4