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
How to empty inventory.
W4rpCore Offline
Junior Member

Posts: 6
Threads: 2
Joined: Mar 2013
Reputation: 0
#4
RE: How to empty inventory.

(03-10-2013, 07:03 PM)stonecutter Wrote: you have to call this method for every item you have in the inventory:

void RemoveItem(string& asName);

Isn't there a way to reset everything?

also if I try to remove a lantern, but the player doesnt have one, does it give an error or something? or should i check if the player has one first?
(This post was last modified: 03-10-2013, 07:09 PM by W4rpCore.)
03-10-2013, 07:09 PM
Find


Messages In This Thread
How to empty inventory. - by W4rpCore - 03-10-2013, 06:52 PM
RE: How to empty inventory. - by stonecutter - 03-10-2013, 07:03 PM
RE: How to empty inventory. - by W4rpCore - 03-10-2013, 07:09 PM
RE: How to empty inventory. - by The chaser - 03-10-2013, 07:20 PM
RE: How to empty inventory. - by NaxEla - 03-10-2013, 07:09 PM
RE: How to empty inventory. - by stonecutter - 03-10-2013, 07:26 PM
RE: How to empty inventory. - by PutraenusAlivius - 03-11-2013, 03:42 PM
RE: How to empty inventory. - by No Author - 03-11-2013, 03:53 PM
RE: How to empty inventory. - by W4rpCore - 03-11-2013, 03:58 PM
RE: How to empty inventory. - by PutraenusAlivius - 03-11-2013, 04:04 PM



Users browsing this thread: 2 Guest(s)