Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How do I do Item stacking In dark Basic Classic

Author
Message
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 11th Oct 2003 02:17
Hi,
Say I have an item menu. Say I have 4 different Items not actually in the item menu, but just there.

Say I want to start the game with:
4 Potions
4 Eithers

how can I get them to disappear after I use them all and then re-appear after I find or buy some more.

DBC Remember

Thanks
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
*Future Number: Eleventy
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 11th Oct 2003 20:45
Anyone know what I mean?

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
*Future Number: Eleventy
WarHunterX
21
Years of Service
User Offline
Joined: 25th Mar 2003
Location:
Posted: 11th Oct 2003 20:59
Erm, are you trying a RPG? Because, if you cant figure this out, theres no way in hell youre gonna complete one in a long, long time.
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 11th Oct 2003 21:22
Yes RPG.... Do you know how to do what I am talking about. DBC not pro.

I want my item system to work. I know how to do my system but not the real way. I know how to make it do what I am talking about but it wont disappear off the menu. Once the item is gone I want the item off the menu.

I want to have pre-set x,y text values so when I do get and lose items they go into those values.

Please no body seems to know how to do this.

Thanks
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
*Future Number: Eleventy
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 12th Oct 2003 15:54
Difficult question to answer, and if youve got that much of the game done, then y are you posting in the newcomers section?

Oh, and in future posts, add more detail, give examples and code or screeny's where available

Hope I Helped...

Knowladge Belongs To The People...
zao420
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 12th Oct 2003 23:35
i am going to take a shot in the dark. ia m new to dark basic. anyway. i am wondering if you have your item system ina function and are not declaring the varibles as global. i have never use dbc so i don't know if you have but with pro you do..

Login to post a reply

Server time is: 2024-11-25 13:49:28
Your offset time is: 2024-11-25 13:49:28