Hey help needed with Gem choice coding

Could somebody help me with this
I am getting errors

choice
GEMS:5"I would love to" {

MEL (talk_excited_happy)
Thank you so much reader
I love you

} GEMS:8 "I would love too but more "{

MEL (talk_excited_happy)
Thank you so much reader
I love you

}
“No but I like your story” {

MEL (talk_agree_happy)
It’s ok reader
Thank you so much
I still love you
}

1 Like

You have to add arrows around the GEMS part, like:

</GEMS:5/> “Choice name”

But without the slashes. It doesn’t format properly if I remove them lol

Edit: Oh sorry, I think you do have those already. What’s the error you’re getting?

1 Like

its shows : Choices must follow dialogs not branches

1 Like

You have to add narrator or character speech above your choice command like this:

       NARRATOR 
    Would you like to support me  

choice
GEMS:5"I would love to" {

MEL (talk_excited_happy)
Thank you so much reader
I love you

} GEMS:8 "I would love too but more "{

MEL (talk_excited_happy)
Thank you so much reader
I love you

}
“No but I like your story” {

MEL (talk_agree_happy)
It’s ok reader
Thank you so much
I still love you
}

3 Likes

Thank you it worked !

1 Like

No problem :wink:

3 Likes

I recommend you add a choice name to your gem choices:

E.g
choice (choicenamehere)
#the rest of the code here.

It’s also worth looking at this if you want to name your gem choices and be able to track them:

2 Likes

Thank you thats helpful

2 Likes

No worries!

2 Likes