Combine Objects

Started by , Mon 30/06/2003 13:17:15

Previous topic - Next topic

MIke

How do you COMBINE objects, Like in TUM or Caleb's Drunken Adventure?

I mean like Using a Can of Beer and a Mug and makes a Full Mug 0f Beer in the invertory?

saanb

@.@ just take both the can of beer and mug off the inventory(lose inventory) and put in a full mug of beer(add inventory). of course you'd have to make another inventory item with another sprite of a full mug of beer in addition to the can and empty mug.

MillsJROSS

I'll specify a little more than the above message.

Go into your inventory menu. Select one of the inventory items that you want to combine. Click on the interactions button for that item. Use the "Conditional, if inventory item was used" button. Verify which inventory item you want to interact with this item. Then afterwards, put what you want to do with it. You'll probably want to lose both previous inventory items and add a new combined one.

Now this will only work one way. Ex. InvItem1 when selected and clicked on InvItem2 will combine, but InvItem2 when selected and clicked on InvItem1 won't do anything. To solve this, simply make a similar script for the other inventory item. That way it doesn't matter which item the player has selected.

-MillsJROSS

SMF spam blocked by CleanTalk