Using an inventory on an object....

Started by Davidi, Mon 21/07/2003 21:55:52

Previous topic - Next topic

Davidi

I want to make it so if a bomb touches a rock, it'll have an animation of the rock exploding, and you will lose the bomb.  I know how to lose the bomb already, but how do I make it so when the bomb icon clicks on the cracked rock?

Barcik

In the Use Inventory Item interaction of the rock
you have to write
if (character[GetPlayerCharacter()].activeinv==x)
//x being the number of the bomb inventory item
{
//your script here
}
Currently Working On: Monkey Island 1.5

SMF spam blocked by CleanTalk