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
Removing lantern from Inventory
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#4
RE: Removing lantern from Inventory

To remove the lantern if the player has it equipped, simply disable the lantern and then remove item with maybe a time break between both actions. You also need a SetLanternDisabled command function.

SetLanternDisabled(bool abX);

SetLanternDisabled(bool abX);

RemoveItem(string& asName);

(This post was last modified: 08-01-2011, 01:23 AM by Kyle.)
08-01-2011, 01:21 AM
Find


Messages In This Thread
Removing lantern from Inventory - by Rapture - 08-01-2011, 12:40 AM
RE: Removing lantern from Inventory - by Juby - 08-01-2011, 01:07 AM
RE: Removing lantern from Inventory - by Rapture - 08-01-2011, 01:19 AM
RE: Removing lantern from Inventory - by Kyle - 08-01-2011, 01:21 AM



Users browsing this thread: 1 Guest(s)