Mirage Source
QuickHeal Button (Split) - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Staff (https://mirage-engine.uk/forums/forumdisplay.php?fid=41)
+---- Thread: QuickHeal Button (Split) (/showthread.php?tid=150)



QuickHeal Button (Split) - Krloz - 01-07-2006

and If we want to set F3 to use a mp potion would be this?

[code]Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
Dim Value As Long
Dim i As Long
Call CheckInput(0, KeyCode, Shift)
If KeyCode = vbKeyF3 Then

For i = 1 To MAX_INV

If GetPlayerInvItemNum(MyIndex, i) > 0 And GetPlayerInvItemNum(MyIndex, i)


- Tosuxo - 01-07-2006

oh man... "You Quaff a healing potion"... that cracked me up... i hope no noobs copy and paste it... or they'll be quaffing potions instead of drinking Tongue