Charas-Project

Game Creation => Requests => Tutorials => Topic started by: Hirochi-Zangus on July 08, 2008, 08:29:29 PM

Title: Storing items for future use
Post by: Hirochi-Zangus on July 08, 2008, 08:29:29 PM
Is there an option for the system to check if an item is possessed? I need it for 2k3 because I need it to store my items into variables so you don't have the items when you're a different character who wouldn't have these items.
Title: Re: Storing items for future use
Post by: Prpl_Mage on July 08, 2008, 10:11:18 PM
That's quite easy.

The Conditional Branch got an option on the second page saying "Part possesses [Potion]" So just use that and then name a variable after the ammount of potions using the Variable Operations and set it equal to the number of Potions held.

Then remove rall the potions with the number stored in the variable when you switch to the new character so that you have none.

If you get the character back just add an Item Management and add potions, number stored in variable.

Just do the same thing for every item and it whould work.
Title: Re: Storing items for future use
Post by: Hirochi-Zangus on July 08, 2008, 10:31:03 PM
It seems to make sense but you have some spelling errors that are attracting my attention. Could you show a screenshot of what it should look like. And put a comment saying "repeat here" so I know that is where I put it to continue with more items. Thanks
Title: Re: Storing items for future use
Post by: Prpl_Mage on July 09, 2008, 08:50:01 PM
No offense but I don't feel like taking screenshots and all that stuff.
It's better that you figure it out with these guidelines.
Believe me, it's better that you learn by doing it rather than just doing exactly like I did. You'll advance and actually know what's going on.

It'll do you good.
Title: Re: Storing items for future use
Post by: Hirochi-Zangus on July 10, 2008, 06:45:36 PM
I already figured it out.