Hey, nearly half way through my first game, made the rooms, objects etc...
Struggling with dialog though!
I'm trying to make the player walk up to the character before they start speaking.
In one bit, it works exactly the way I wanted it to.
I'm using this code here (copied and pasted from the editor):
function cDude_Talk()
{
player.Walk(294, 325);
int delay;
dDialogdude.Start();
}
And on another character, I'm using this code here:
function cButcher_Talk()
{
player.Walk(171, 204);
int delay;
dDialog2butcher.Start();
}
and it just randomly starts the dialog no matter where in the room the player is standing.
I totally don't get it... am I being blonde or are those 2 bits of code not the same?
Just a few more things!:
1: How do you make it so each time you speak to a character a different dialog comes up?
2: How would you speak to character A, then go speak to character B, then make character A say a different dialog?
3: How do you give Inventoryitems to characters?
Cheers!
Jonny
Struggling with dialog though!
I'm trying to make the player walk up to the character before they start speaking.
In one bit, it works exactly the way I wanted it to.
I'm using this code here (copied and pasted from the editor):
function cDude_Talk()
{
player.Walk(294, 325);
int delay;
dDialogdude.Start();
}
And on another character, I'm using this code here:
function cButcher_Talk()
{
player.Walk(171, 204);
int delay;
dDialog2butcher.Start();
}
and it just randomly starts the dialog no matter where in the room the player is standing.
I totally don't get it... am I being blonde or are those 2 bits of code not the same?
Just a few more things!:
1: How do you make it so each time you speak to a character a different dialog comes up?
2: How would you speak to character A, then go speak to character B, then make character A say a different dialog?
3: How do you give Inventoryitems to characters?
Cheers!
Jonny