Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item Request: Wine [SOLVED]
ModManDann Offline
Member

Posts: 61
Threads: 6
Joined: Dec 2010
Reputation: 0
#11
RE: Item Request: Wine

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

Current project: Mind Trap
12-28-2010, 12:09 AM
Find
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#12
RE: Item Request: Wine

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.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
12-28-2010, 12:41 AM
Find




Users browsing this thread: 1 Guest(s)