Attempted to convert to new Callable in Godot 4 Beta 4 but got 2 errors
valkyrienyanko opened this issue · 2 comments
valkyrienyanko commented
I recently tried to convert to the new Callable used in Godot 4 Beta 4 (see fd78d2f)
But I ran into 2 errors when dashing in game. These methods are in MovingEntityCommandDash.cs
in Initialize()
method. (see https://github.com/Valks-Games/sankari/blob/godot4beta4/Scripts/Entities/Commands/MovingEntityCommandDash.cs)
What am I doing wrong here?
valkyrienyanko commented
Okay actually I see a problem, I create a new Callable with a target of Entity and methods that are not defined in Entity.
But it was working before?
valkyrienyanko commented
Commented out "OnDashDurationDone?.Invoke" but that does not seem to effect gameplay at all so going to roll with these changes 781c0ac