You could simply change a (global) variable and turn the gas pipe's animation off in the room_load when it's done.
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 MenuQuote from: Harg on Fri 23/04/2010 14:34:15
Guys, this is my battle against AGS Panel, which is ONE guy who decides the destiny of your game. How will you get serious review from serious site when in AGS site (your game engine site) are written these terrible comments.
Quote from: NsMn on Wed 21/04/2010 13:50:51
Lost Element.
Hey, they say you should have dreams.
else if(UsedAction(eGA_UseInv)) {} else if(UsedAction(eGA_UseInv)) {}
function icap_OtherClick()
{
if (UsedAction(eGA_LookAt))
{
player.Say("A bottle cap.");
player.Say("What can I possibly do with this?");
}
else if(UsedAction(eGA_UseInv)) {
if (player.ActiveInventory == ihalfbottle) {
player.Say("I need to fill this bottle first.");
}
else if (player.ActiveInventory == ifullbottle) {
player.Say("This will take a sec.");
player.LoseInventory(ifullbottle);
player.LoseInventory(icap);
player.AddInventory(icappedbottle);
}
else Unhandled();
}
if (GetGlobalInt(103)==0 || GetGlobalInt(103)==2 || GetGlobalInt(103)==3 || GetGlobalInt(103)==4) object[3].Visible = true;
if (GetGlobalInt(103)==0 || GetGlobalInt(103)==1 || GetGlobalInt(103)==3 || GetGlobalInt(103)==5) object[4].Visible = true;
if (GetGlobalInt(103)==0 || GetGlobalInt(103)==1 || GetGlobalInt(103)==2 || GetGlobalInt(103)==6) object[5].Visible = true;
if (GetGlobalInt(103)==0) SetGlobalInt (103, 1);
if (GetGlobalInt(103)==2) SetGlobalInt (103, 6);
if (GetGlobalInt(103)==3) SetGlobalInt (103, 5);
if (GetGlobalInt(103)==4) SetGlobalInt (103, 7);
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.160 seconds with 15 queries.