[g3.8pre-757-g0ed847b51]Dialog Pagenames as String fails
Posted: Sat Apr 06, 2019 5:32 am
Using the pagename property as a string instead of number, it doesn't go to the next page properly, I've double-checked the names and it will either spit out an invalid node xx error in the console or it will go to a completely unrelated page. Number of pages have been cut down in order to debug easier.
This will result in an invalid node 11 not found error, running on g3.8pre-757-g0ed847b51.
Code: Select all
conversation
{
// A hotheaded boy with a story to tell.
actor = "Archvile";
// Intro
page
{
name = "Hothead";
pagename = "Hello";
dialog = "I got a burning feelin'!";
choice
{
text = "Really now?";
nextpage = "MyFeels";
}
}
// Second page
page
{
name = "Hothead";
pagename = "MyFeels";
dialog = "Yeah... My fiancee just left me...";
choice
{
text = "Sorry to hear...";
nextpage = "Japed";
}
}
// Third page
page
{
name = "Hothead";
pagename = "Japed";
dialog = "That's okay, we weren't doing too hot anyway! Har har har!";
choice
{
text = "I ought to shoot you for that pun...";
nextpage = "Hello";
}
}
}