Author Topic: [XP] Hotkey Number Modifier  (Read 4003 times)

Offline JellalFerd

  • Transcended Spirit
  • ***
  • Posts: 104
  • LV: 0
  • Gender: Male
    • View Profile
[XP] Hotkey Number Modifier
« on: June 16, 2011, 04:09:22 PM »
Hotkey Number Modifier
Authors: Jellalferd
Version: .7
Type: Blizz-ABS Plugin
Key Term: Blizz-ABS Plugin

Introduction
This script modifies the number of hotkeys you have.

Features

  • Modifies the amount of Hotkeys

Screenshots


Demo
The script is pretty much plug and play, so I think no demo is required.

Script
(click to show/hide)

Instructions
Just modify this line:
Code: [Select]
Hotkeys = 3
Compatibility
  • I haven't tested it with Direct Hotkeys yet.
  • The direct edit in Scene_Hotkeys should make it incompatible with Z-Hud...for now.

Credits and Thanks

Author's Notes
I got inspired to make this because of this:
(click to show/hide)
« Last Edit: June 18, 2011, 08:41:09 AM by JellalFerd »
Quote
Frank says:
 But obviously they put on that shirt on in the morning.
 Hmmm..
 Booty shirts are nice.
 Depends on the girl.
Jellal says:
 booty shirts
 lolwut

Offline mroedesigns

  • Ethereal Devastator
  • ****
  • Posts: 394
  • LV: 31
  • Gender: Male
  • I seeee you
    • View Profile
    • MRoe Designs
Re: [XP] Hotkey Number Modifier
« Reply #1 on: June 16, 2011, 09:13:09 PM »
Very nice script! I enjoy having 10 hotkeys, but I still may use this to give the player the option for less.

Offline JellalFerd

  • Transcended Spirit
  • ***
  • Posts: 104
  • LV: 0
  • Gender: Male
    • View Profile
Re: [XP] Hotkey Number Modifier
« Reply #2 on: June 17, 2011, 03:58:26 AM »
Alright, I've been testing it more, and apparently it doesn't work with some specific numbers.
The first one I've encountered is 5.
If you have it set to 5, Hotkeys 1-4 work, but 5 doesn't.
Quote
Frank says:
 But obviously they put on that shirt on in the morning.
 Hmmm..
 Booty shirts are nice.
 Depends on the girl.
Jellal says:
 booty shirts
 lolwut

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Hotkey Number Modifier
« Reply #3 on: June 17, 2011, 05:08:21 AM »
Is it because of this - 1?
Code: [Select]
BlizzABS::Cache::Keys = 0..BlizzCFG::Hotkeys-1

Offline JellalFerd

  • Transcended Spirit
  • ***
  • Posts: 104
  • LV: 0
  • Gender: Male
    • View Profile
Re: [XP] Hotkey Number Modifier
« Reply #4 on: June 17, 2011, 05:54:54 AM »
No.
In the actual Blizz-ABS Script, the line is:
Code: [Select]
Keys = 0..9That's ten keys. If the -1 wasn't there, it'd be one higher than the specified value.
Also,if that were the problem, it'd be a flaw with all other numbers, so far, it's only happened on the number 5.
Quote
Frank says:
 But obviously they put on that shirt on in the morning.
 Hmmm..
 Booty shirts are nice.
 Depends on the girl.
Jellal says:
 booty shirts
 lolwut

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Hotkey Number Modifier
« Reply #5 on: June 18, 2011, 02:27:34 AM »
Just add an extra dot in the range and you need not do the -1 at the end.

Code: [Select]
BlizzABS::Cache::Keys = 0...BlizzCFG::Hotkeys
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline JellalFerd

  • Transcended Spirit
  • ***
  • Posts: 104
  • LV: 0
  • Gender: Male
    • View Profile
Re: [XP] Hotkey Number Modifier
« Reply #6 on: June 18, 2011, 08:40:16 AM »
...I can't believe I forgot that. ;_;
Quote
Frank says:
 But obviously they put on that shirt on in the morning.
 Hmmm..
 Booty shirts are nice.
 Depends on the girl.
Jellal says:
 booty shirts
 lolwut