The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Making Puzzle Items Consumable
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#1
Making Puzzle Items Consumable

I want to make a puzzle item consumable, meaning that if it is clicked on in the inventory it immediately causes an effect (much like a can of oil or health potion, though the effect would be done through script). However I cannot find a callback that would trigger when the item double clicked (so that the player holds it out in front of him). My idea was that I would use script to remove the item when it was clicked in this manner, so that it would appear to have been drunk.

08-15-2011, 02:09 AM
Find


Messages In This Thread
Making Puzzle Items Consumable - by Homicide13 - 08-15-2011, 02:09 AM
RE: Making Puzzle Items Consumable - by MrBigzy - 08-15-2011, 03:40 AM
RE: Making Puzzle Items Consumable - by DRedshot - 08-15-2011, 04:40 PM



Users browsing this thread: 1 Guest(s)