View Single Post
  #20  
Old 10-11-2001, 09:24 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
That is only for 1 key. There are 8 keys total that I test in that section alone. Also, this is a routine that draws some stuff on the screen:
NPC Code:

} else if (this.inventory_mode==4) {
hideimg 998;
showimg 999,rha_system_CW_#s(client.Options_Skin).png,scre enwidth-192,screenheight*0.35;
showimg 1000,rha_system_window_#s(client.Options_Skin).png ,screenwidth*0.1,screenheight*0.2;
if (this.inv_keyhelp==0) {
showimg 1400,rha_system_key_#s(client.Options_Skin).png,sc reenwidth*0.1-33,screenheight*0.2-48;
if (EarnedMagicHand) {
showimg 1401,@A: Equip Left,screenwidth*0.1-33+10,screenheight*0.2-48+21;
} else {
showimg 1401,@A:,screenwidth*0.1-33+10,screenheight*0.2-48+21;
}
showimg 1402,rha_system_key_#s(client.Options_Skin).png,sc reenwidth*0.1+138-33+3,screenheight*0.2-48;
if (EarnedMagicHand) {
showimg 1403,@S: Equip Right,screenwidth*0.1+138-33+10+3,screenheight*0.2-48+21;
} else {
showimg 1403,@S:,screenwidth*0.1+138-33+10+3,screenheight*0.2-48+21;
}
showimg 1404,rha_system_key_#s(client.Options_Skin).png,sc reenwidth*0.1+138+138-33+6,screenheight*0.2-48;
showimg 1405,@D: Select,screenwidth*0.1+138+138-33+10+6,screenheight*0.2-48+21;
changeimgvis 1400,4;
changeimgvis 1401,4;
changeimgvis 1402,4;
changeimgvis 1403,4;
changeimgvis 1404,4;
changeimgvis 1405,4;
}
changeimgvis 999,4;
changeimgvis 1000,4;
setstring this.inventory_itemsift,-Magic;
InventoryDrawItems();
}


That draws the stuff when you select Magic from the options window. I have many other routines like these, which just add up space. Hmm. I can extract the Level Up code from here. Forgot about it..... But that still won't do any good for the npc =[
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote