Sign in to follow this  
Followers 0

Dialogue 2nd actor not talking help!!

The first conversation with the town guard works flawlessly but the second conversation with the king wont even start.

Could anyone help me? Thanks in advance.

Heres the code

namespace = "Strife";

//------------------------------------------------
//TOWN GUARD
//------------------------------------------------
conversation
{
actor = 1;
page
{
name = "Town Gate Guard";
dialog = "Aw you must be the new hero that has come to rid us of this evil?";
choice
{
yesmessage = "Well...then...carry on.";
text = "Nope you are mistaken!!";
nextpage = 1;
closedialog = true;
}
choice
{
text = "Yes I am!!";
nextpage = 2;
}
choice
{
text = "And if I am?";
nextpage = 5;
}
}
page
{
name = "Town Gate Guard";
dialog = "Please go talk to Orgrim right away!!.";
choice
{

text = "Yeah... Whos Orgrim and where is he?";
nextpage = 3;

}
}
page
{
name = "Town Gate Guard";
dialog = "Why hes the king of course!!. Hes in the townhall.";
choice
{
yesmessage = "Your quite welcome!!";
text = "Thankyou kind sir";
nextpage = 4;
closedialog = true;
}
}
page
{
name = "Town Gate Guard";
dialog = "Go see King Orgrim in the townhall right away!!";
closedialog = true;
}
page
{
name = "Town Gate Guard";
dialog = "Then the townsfolk will worship you like a god if you defeat this evil that plagues our lands.";
choice
{

text = "Than yes I am that hero. (With a grin on your face)";
nextpage = 2;

}
}
}
}


//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------


conversation
{
actor = 2;
page
{
name = "King Orgrim";
dialog = "HERO!! We meet at last. My name is Orgrim Stromdam and im the King of Stromdam Keep. My kingdom has needed someone like you for a long time.";
choice
{
yesmessage = "Well then perhaps I have misjudged you, We dont need someone like you helping us.";
text = "Uhuh thats nice...But if im not paid well then I dont care";
nextpage = 2;
closedialog = true;
}
choice
{
text = "Yes I am!!";
nextpage = 3;
}

}
page
{
name = "King Orgrim";
dialog = "I take it you have had a change of heart?.";
choice
{

text = "Yes my lord, now how can I assist you and your kingdom?";
nextpage = 3;

}
}
page
{
name = "Town Gate Guard";
dialog = "Why hes the king of course!!. Hes in the townhall.";
choice
{
yesmessage = "Your quite welcome!!";
text = "Thankyou kind sir";
nextpage = 4;
closedialog = true;
}
}

Share this post


Link to post

This is why we indent.

namespace = "Strife";

//------------------------------------------------
//TOWN GUARD
//------------------------------------------------
conversation
{
	actor = 1;
	page
	{
		name = "Town Gate Guard";
		dialog = "Aw you must be the new hero that has come to rid us of this evil?";
		choice
		{
			yesmessage = "Well...then...carry on.";
			text = "Nope you are mistaken!!";
			nextpage = 1;
			closedialog = true;
		}
		choice
		{
			text = "Yes I am!!";
			nextpage = 2;
		}
		choice
		{
			text = "And if I am?";
			nextpage = 5;
		}
	}
	page
	{
		name = "Town Gate Guard";
		dialog = "Please go talk to Orgrim right away!!.";
		choice
		{

			text = "Yeah... Whos Orgrim and where is he?";
			nextpage = 3;

		}
	}
	page
	{
		name = "Town Gate Guard";
		dialog = "Why hes the king of course!!. Hes in the townhall.";
		choice
		{
			yesmessage = "Your quite welcome!!";
			text = "Thankyou kind sir";
			nextpage = 4;
			closedialog = true;
		}
	}
	page
	{
		name = "Town Gate Guard";
		dialog = "Go see King Orgrim in the townhall right away!!";
		closedialog = true;
	}
	page
	{
		name = "Town Gate Guard";
		dialog = "Then the townsfolk will worship you like a god if you defeat this evil that plagues our lands.";
		choice
		{

			text = "Than yes I am that hero. (With a grin on your face)";
			nextpage = 2;

		}
	}
}
}


//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------
//------------------------------------------------
//KING ORGRIM
//------------------------------------------------


conversation
{
	actor = 2;
	page
	{
		name = "King Orgrim";
		dialog = "HERO!! We meet at last. My name is Orgrim Stromdam and im the King of Stromdam Keep. My kingdom has needed someone like you for a long time.";
		choice
		{
			yesmessage = "Well then perhaps I have misjudged you, We dont need someone like you helping us.";
			text = "Uhuh thats nice...But if im not paid well then I dont care";
			nextpage = 2;
			closedialog = true;
		}
		choice
		{
			text = "Yes I am!!";
			nextpage = 3;
		}

	}
	page
	{
		name = "King Orgrim";
		dialog = "I take it you have had a change of heart?.";
		choice
		{

			text = "Yes my lord, now how can I assist you and your kingdom?";
			nextpage = 3;

		}
	}
	page
	{
		name = "Town Gate Guard";
		dialog = "Why hes the king of course!!. Hes in the townhall.";
		choice
		{
			yesmessage = "Your quite welcome!!";
			text = "Thankyou kind sir";
			nextpage = 4;
			closedialog = true;
		}
	}
Hopefully the brace problems should be obvious now. I'm surprised the first conversation is even working.

Share this post


Link to post

You can. Just set the special and arg0-arg4 as documented on the ZDoom wiki.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0