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.

DarkBASIC Discussion / Problem with my menu... Mouseclicks using the for to next commands.. May be pretty hard to answer.

Author
Message
The Lone Programmer
22
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 17th Oct 2003 19:59
Hi,
I have been working on trying to get a decent item menu going on where as the are non-specific item spots. I got a code from Blazer and I changed it a little. Then IanM helped me fix it up some more.

Works good except I cant get it so my item has its own mouseclick.
Here is my code:



I want each item in my game to have its own mouseclick that does a specific thing. Right now I have accomplished that with buttons. The thing about mouseclicks it you need an x,y and if I use
for i=1 to 10
whatever in here
next i

It has no x,y.

This is the mouseclick code I usually use:



Well something like that. But you see the mouseclick will follow that variable only. I want that for mine.

Please help me out guys. Similar post circulating in Newb Corner but no responses.

Thanks
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
*Future Number: Eleventy

Login to post a reply

Server time is: 2025-05-21 14:08:11
Your offset time is: 2025-05-21 14:08:11