Frictional Games Forum (read-only)
Item Request: Wine [SOLVED] - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Item Request: Wine [SOLVED] (/thread-5918.html)

Pages: 1 2


RE: Item Request: Wine - ModManDann - 12-28-2010

To bad that didn't work.

What I want to do:

Player picks up the wine bottle
Player uses the wine bottle in the inventory by double clicking it (like a health potion / oil)
When the players does this a callback function will be called named "DrinkWine"

The rest is no problem for me


RE: Item Request: Wine - Frontcannon - 12-28-2010

Hmm... I don't think we're able to do that, Items that aren't used on anything specific are restricted to oils and the player's health, and it seems that it would require some tinkering with the engine to change that.

My idea: make a large area around the player and use the Wine bottle on that. So if the player uses the items it seems it is applicable on everything and when clicked it will trigger your callback.