learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

The Error Menu doesn't contain info for a specific type of error.

Open ChaiRajo opened this issue 2 years ago • 0 comments

This is about an error message(that error explainer thing) So I was doing one of the practices and I wrote this:

func roll_dice(sides): var result This gave an error -------> randi() = result # I fixed this, the problem was that it has to be result = randi() as it right now means assign the value of result to randi() (how would it have done that lol XD), well atleast I helped some guy out :) result %= sides + 1 return result

So I checked what the error was but it said you guys haven't covered this yet, so I posted this to let you guys know this is a thing. Screenshot(s): image image

ChaiRajo avatar Jun 11 '23 08:06 ChaiRajo