[SOLVED] Active Inventory Issues

Started by xenogia, Wed 10/02/2010 09:04:16

Previous topic - Next topic

xenogia

I am wanting to use an inventory on another but it doesn't seem to be working.  This is what I have.

Code: ags

function iVodka_UseInv()
{
  if (cEgo.ActiveInventory == iGlass) {
    cEgo.Walk (218, 287, eBlock, eWalkableAreas);
    cEgo.FaceLocation (200, 287, eBlock);
    Wait (40);
    cEgo.LoseInventory (iVodka);
    cEgo.LoseInventory (iGlass);
    SetNextScreenTransition (eTransitionInstant);
    cEgo.ChangeRoom (41, 458, 281);
  }
}


Is there any reason why this would not be working.. it just doesn't register the click at all.

EDIT: Don't worry guys, I figured out the problem.

SMF spam blocked by CleanTalk