Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-14-2005, 04:20 PM   #1
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Vb CODE pick up and drop item

Okay, I am working on a VB program for school called adventure game, and when my character enters a room there are two buttons, one to pick up object and one to drop object, and each room has an object. What i cant get to work is that when i enter the room, the button drop appears if i have an object in my hand already, and then when i click it i drop the object and the pick up object button becomes visible. Upon clicking the pick up button I would like to pick up the rooms object. Does anyone know how to do this, and I already have around 7500 lines of code done doing everything else for this level of the game, but this is the only error and everything else works properly. Does anyone know how to go about writing this code? Dont worry about variable names, i can adjust them afterward to fit.
TIA,
ryan124712
__________________
RiotCats.com, an internet domain specifically fabricated and visually erected for the appreciation of the feline kingdom!
rspassey is offline   Reply With Quote
Old 09-14-2005, 04:22 PM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Is this a text-based game or graphical?
doctorgonzo is offline   Reply With Quote
Old 09-14-2005, 04:24 PM   #3
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Graphical with Visual Basic .Net, i have tried around ten diferent codes for this one function and none work. Thanks for quick reply.
rspassey is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2