Hello,
I am currently trying to start with AGS. Now I have a problem:
Within my game, I have a cable in my inventory and managed to use it with a computer. As a result, I switch an object (oCable) to visible representing the cable connected to the computer.
Now I want to implement that you can use the visible object cable (oCable) with an hotspot (hTelescope). Unfortunately, it seems only to be possible to "use" the cable but not "use on" something like you can do in the inventory.
Is there a way to allow for a use object on a hotspot?
Thank you in advance,
Florian
Assuming you're using Tumbleweed Verbs, I don't think you can. Using something with something else is strictly limited to inventory items. This is deeply enough embedded in the logic that it would be hard to change, I think.
The best I can think of is to create an inventory item for the cable, and automatically add this to the player's inventory and set it as the active inventory item when you click "use" on the cable, and then remove it from the inventory again if you cancel the action (you'll probably need to edit Verbs::Unhandled() to make this happen).