topics = Split ("What mission?;I was born ready!;Err.. what mission?;Actually I am having second thoughts about it.", ";")
show menu ("", topics, true) {
switch (result) {
case ("What mission?") {
msg ("Viconia smiles. 'Oh don't be so coy. Haven't you heard you are going to Gliese 667 Cc?'")
speak_to_android_female_mission
}
case ("I was born ready!") {
msg ("'Good.'")
speak_to_android_female_mission
}
case ("Err.. what mission?") {
msg ("'Mission to Gliese 667 Cc.'")
speak_to_android_female_mission
}
case ("Actually I am having second thoughts about it.") {
msg ("'Oh don't worry about it.'")
speak_to_android_female_mission
}
}
}
game.topics_1 = Split ("What mission?;I was born ready!;Err.. what mission?;Actually I am having second thoughts about it.", ";")
show menu ("", game.topics_1, true) {
switch (result) {
case ("What mission?") {
msg ("Viconia smiles. 'Oh don't be so coy. Haven't you heard you are going to Gliese 667 Cc?'")
speak_to_android_female_mission
}
case ("I was born ready!") {
msg ("'Good.'")
speak_to_android_female_mission
}
case ("Err.. what mission?") {
msg ("'Mission to Gliese 667 Cc.'")
speak_to_android_female_mission
}
case ("Actually I am having second thoughts about it.") {
msg ("'Oh don't worry about it.'")
speak_to_android_female_mission
}
}
}
I think by making your 'topics' variable, instead an attribute (by attaching it to an object), it'll work
if (result <> null) {
...
}