Dialog bug
Author | Topic: Dialog bug |
---|---|
Off With Their Heads
Member # 4045
|
written Saturday, November 26 2005 14:08
Profile
Homepage
I'm not sure if this is old news, but I think I've found yet another bug in BoA, namely this: if you set up a dialog with only a first and third dialog option, the third dialog option returns the number 2 instead of the number 3 when one uses run_dialog(). This is what I mean: Choose dialog option 3, and it prints the number 3. However: Choose dialog option 3, and it prints the number 2. This seems like a particularly malicious bug because one could have a dialog option that may or may not be available depending on a flag, and the resulting run_dialog would return an unexpected number. The workaround, of course, would look something like this: But this seems excessive to me. [ Saturday, November 26, 2005 14:17: Message edited by: Kelandon ] -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
...b10010b...
Member # 869
|
written Saturday, November 26 2005 15:58
Profile
Homepage
EDIT: Ah, I see what the problem is now. I suppose one workaround is to make sure that whenever possible, dialog options that are only available conditionally are the last one on the list, so they don't affect the order of the others. [ Saturday, November 26, 2005 16:04: Message edited by: Thuryl ] -------------------- The Empire Always Loses: This Time For Sure! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |