1
Technical forum / Execute command by clicking an inventory item
« on: December 19, 2013, 02:56:35 AM »
Hi there!
I have one question.
In one of our puzzles, the actor is supposed to play an animation right after the player clicks on a specified inventory item.
But as far as i know, the only script regarding the inventory items is the "items.items" script and i don't see any possibilities to manage these.
So, is there a way to run a script which says something like: if you click on this item, then do this and that?
It's not that important if it has to be a left- or a right click. Main thing is, i want to somehow interact with this single inventory item.
I really hope someone got an idea. Thanks in advance!
I have one question.
In one of our puzzles, the actor is supposed to play an animation right after the player clicks on a specified inventory item.
But as far as i know, the only script regarding the inventory items is the "items.items" script and i don't see any possibilities to manage these.
So, is there a way to run a script which says something like: if you click on this item, then do this and that?
It's not that important if it has to be a left- or a right click. Main thing is, i want to somehow interact with this single inventory item.
I really hope someone got an idea. Thanks in advance!
