Achievements - Name invalid error

For anyone who ran into this same error:

invalidname_error2
invalidname_error

ITS BECAUSE YOU HAVE CAPITALS IN THE CODE.

If you change the codename (in this example: KAVRomach) to all lowercase (kavromach), it’ll work.

It took me HOURS to figure this error out, so I figured I’d put a notice up in case someone else ran into this same problem.

6 Likes

Oh I did notice it, but it was totally by accident. The choicescript interpreter always converts our variable’s names to lowercase. But the achievement are a exception.

That is why the interpreter cant read it as a declared achievement if there are uppercase characters in it.

Quite fascinating, thank you for share with the community :grinning_face: :+1:

No worries! I wanted to comment on the wiki, just in case someone goes there for it, but the comments on that page were closed.

1 Like