Reply to Re: Does this work?
If you don't have an account, just leave the password field blank.
Make sure you nest the code correctly. For example:
choice_start()
"Choice option 1"
(&condition == 1) "Choice option 2"
"Choice option 3"
choice_end()
if (&result == 1)
{
// this is for Choice option 1
}
if (&result == 2)
{
// this is for Choice option 2
choice_ start()
"Choice option 4"
"Choice option 5"
choice_end()
if (&result == 1)
{
// this is for Choice option 4
}
if (&result == 2)
{
// this is for Choice option 5
}
}
if (&result == 3)
{
// this is for Choice option 3
}
As you can see, each choice statement has his own &results and they're numbered 1, 2, 3, etc. If you have a choice menu again, then you simply start again with 1, 2, 3 etc. Also note that if there's a &condition to let a menu-item show up or not, the game determines the correct choice option so you can keep numbering them 1, 2, 3 even if the second choice item (in this example) doesn't actually show up ingame.
Edit: Note to self: don't use spaces in codeposts, Miasma doesn't like that when you edit a post
choice_start()
"Choice option 1"
(&condition == 1) "Choice option 2"
"Choice option 3"
choice_end()
if (&result == 1)
{
// this is for Choice option 1
}
if (&result == 2)
{
// this is for Choice option 2
choice_ start()
"Choice option 4"
"Choice option 5"
choice_end()
if (&result == 1)
{
// this is for Choice option 4
}
if (&result == 2)
{
// this is for Choice option 5
}
}
if (&result == 3)
{
// this is for Choice option 3
}
As you can see, each choice statement has his own &results and they're numbered 1, 2, 3, etc. If you have a choice menu again, then you simply start again with 1, 2, 3 etc. Also note that if there's a &condition to let a menu-item show up or not, the game determines the correct choice option so you can keep numbering them 1, 2, 3 even if the second choice item (in this example) doesn't actually show up ingame.
Edit: Note to self: don't use spaces in codeposts, Miasma doesn't like that when you edit a post
