i dont think that this is posted before but i have checked the scripting tutoriol, video tutoriol and the getting started tutoriol...
so can anybody help me with using item from the inv to activate commands with another object
e.g using a key to open a door
Read the topic that I have posted about gate's.
Basically, go to that objects events tab, then look for "Use inv on object". Double click that.
Then, put:
if (player.ActiveInventory == iKey) {
oDoor.Visible = false;
}
(this will assume you used an inventory item called iKey and remove an object called oDoor from the room.)
This is one of the most posted question of all times...
You can use "player.ActiveInventory" to check for the right inv item.
Unfortunately you're right about this not being explained in the manual's tutorial.
thanks everyone my doors finished now:)