Thread: Keydown?
View Single Post
  #16  
Old 07-30-2004, 08:13 PM
Raelyn Raelyn is offline
the Professional.
Raelyn's Avatar
Join Date: Sep 2003
Location: Zormite
Posts: 964
Raelyn will become famous soon enough
Quote:
Originally Posted by GoZelda
Mh, you could've used keypressed too.

NPC Code:

if (keypressed){
if (strequals(#p(1), q)){
//menu code here
}
}


and for the showstats, if you have so many you might want to consider using.

NPC Code:

showstats allstats-whatever you don't want // Not sure if 'allstats' is correct, but it was something similiar.

The thing is, I am making a menu, and there won't be anything behind it, so no need to use keypressed. I am just having the menu be the whole screen.

Also, I thought that showstats 0; worked quite well.
__________________
*Don't let the door hit you on the way out.*
Reply With Quote