Thread: Mouse-menu NPC
View Single Post
  #22  
Old 10-06-2003, 01:54 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Your script could still use some improvement

1.) formatting

2.) Your detection for when someone clicks on an option. You would be better off running a for loop and checking for which row you are on all in one statement, instead of running a seperate statement each time.

3.) You could possibly use better detection for when the mouse is over a row. There's more advanced features for doing that now.

See my example I made to see examples of two and three. If you want me to explain how some parts work I will be glad to do so. Please excuse any possible errors in the script, I made it in a rush
Attached Files
File Type: nw menu_npc.nw (10.5 KB, 89 views)
Reply With Quote