Menu

Show posts

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 Menu

Messages - Capricho

#1
Why doesn't my item combining script work?
It always says 'This cannot be combined.'
Sierra-Style Environment
Please advise how to solve the problem.
Thank you

Code: ags
function iVetev_UseInv(InventoryItem *usedItem, CursorMode mode)
{
  if (usedItem == iGumicka)
  {
    player.Say("I conennected a gumicka and a vetev. Now I have a prak.");
    player.InventoryQuantity[iVetev.ID]--;
    player.InventoryQuantity[iGumicka.ID]--;
    player.AddInventory(iPrak);
  }
  else
  {
    player.Say("This cannot be combined.");
  }
}

function iGumicka_UseInv(InventoryItem *usedItem, CursorMode mode)
{
  if (usedItem == iVetev)
  {
    player.Say("I conennected a gumicka and a vetev. Now I have a prak.");
    player.InventoryQuantity[iVetev.ID]--;
    player.InventoryQuantity[iGumicka.ID]--;
    player.AddInventory(iPrak);
  }
  else
  {
    player.Say("This cannot be combined.");
  }
}
#2
yes, that was the mistake.
The music is already playing  ;-D
Thank you
Beginnings are hard
#3
Why is the background music not playing in my game?
Please help me so I can move forward.
Thank you
Code: ags
function room_AfterFadeIn()
{
  aMusic.Play(eAudioPriorityVeryHigh, eRepeat); 
}
SMF spam blocked by CleanTalk