Command problem

I’m having trouble with *selectable if command

The error I’m getting is:
Non-existent command

My code looks like this:

  • I made sure my choice script is updated
  • also I would like to add that when I test it and choose the third choice (the last one) it doesn’t give me an error

When are you getting this error? Before the choice menu, or after?

After

Well yes because all your directs are gosub not goto. Gosub always returns and choice always needs a goto. If you don’t want to do this, you need to use fake_choice.

Also if any of your players don’t meet any of the *if requirements you’ll get a no selectable error too.

2 Likes

This is the error I get

Edit: it actually worked !!!
Thanks bro I have been thinking on this problem the whole day but please can you explain more why this happened

1 Like

The following article from the wiki might help you:

2 Likes

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.