QuoteI did the very thing thezombiecow is suggesting in the game I'm making.
Awesome. Hope it works out for you

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteI did the very thing thezombiecow is suggesting in the game I'm making.
//"DRINK WINE"
if (Parser.Said("drink wine"))
{
if (staff==1)
{ Display("No more for me, thanks!");
txtParser.SetText("");
}
else if (staff==0)
{
cEgo.Walk(214, 149, eBlock);
Display("Bravely, you take hold of the wine glass. You clink your glasses together and drink every last drop. The alcohol has a slightly dizzying effect...");
staff+=1;
character[EGO].AddInventory(istaff);
object[2].Visible = false;
txtParser.SetText("");
}
}
//"GET STAFF" CODE
if (Parser.Said("take staff"))
{
if (staff==1)
{
Display("You already have it");
txtParser.SetText("");
}
else if (staff==0 && Region.GetAtRoomXY(player.x, player.y) == region[0])
{
Display("You need to get closer");
txtParser.SetText("");
}
else if (staff==0 && Region.GetAtRoomXY(player.x,player.y) == region[2])
{
Display("'Ah, ah, ah! First we drink, then we'll talk about the staff!'");
txtParser.SetText("");
}
}
Quotewithout using very much code
if (bOiledFloorboards)
{
// walk across, you're fine
// interact with the whatnot on the other side as intended
}
else
{
if (bTestedFloorboard)
{
cChar.Say("If I walk over there, that damned floorboard'll start squeaking again.");
}
else
{
// engineer a walk just as far as the floorboard
// play squeak effect
// back off
bTestedFloorboard = true;
}
}
Quote from: TwinMoon on Thu 16/10/2008 23:18:51
Just to get the problem clear:
- When you start the game, there's no sign of a black bar.
- When you start a dialog with Dialog.Start(), it displays gDialog but also with large black blocks on the left and right, which are the same height as gDialog.
- If you change the y value of gDialog the black chunks also change position.
- If you end the dialog, that black stuff also disappears.
Is this correct?
Quote from: TwinMoon on Thu 16/10/2008 22:49:56
Are you sure you changed General Settings | Use GUI for dialog options to the number of the GUI you want to use?
QuoteBut wait: AGS changes the cursor to "pointer". You probably forgot to assign a graphic to that one, zombiecow.
QuoteI don't know exactly what happened to Dmitry or not (I just said that in the worst case scenario, there could be a rock-removing bug in the game), but IF the situation is that the rock needed to progress in the game disappears at some point if you don't do everything in the correct order so that you can't even finish the game, I would call that a bug, yes..
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.049 seconds with 16 queries.