Hello,
I have a little problem in the inventory item interactions.
I have three items, and I want a display command to be executed only when the player uses the first item on the second.
I made my display command as a consequence for the "Use inventory on this item" in the second item events.
However, my display command is always executed, also in the case that the used item is the third on second, or with the second on itself, and not only the first on the second!
The tutorial says: use inventory on inv occurs when the player uses another inventory object on this one. Add a "Conditional - if inventory item was used" check to determine which item they used. This event allows the player to combine items, and so on.
However, I don't find any information about the syntax of this "if" condition. I only know to write if(), but I don't know how to write the "item 1 was used" in the scripting language.
Could you please tell me?
Thank you very much!!!
Puccio
I have a little problem in the inventory item interactions.
I have three items, and I want a display command to be executed only when the player uses the first item on the second.
I made my display command as a consequence for the "Use inventory on this item" in the second item events.
However, my display command is always executed, also in the case that the used item is the third on second, or with the second on itself, and not only the first on the second!
The tutorial says: use inventory on inv occurs when the player uses another inventory object on this one. Add a "Conditional - if inventory item was used" check to determine which item they used. This event allows the player to combine items, and so on.
However, I don't find any information about the syntax of this "if" condition. I only know to write if(), but I don't know how to write the "item 1 was used" in the scripting language.
Could you please tell me?
Thank you very much!!!
Puccio