What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Holded keybinds

leo_

New Member
Joined
Mar 24, 2013
Messages
19
Reaction score
0
It is posible to make keys that needed to be HOLD to perform something?

Exemple 1: Hold a key to pause your rotation. If the key is released it countinue.
Exemple 2: Hold a key to keep resource, destructions do not use the embers, rogues do not use the combo points, priests do not use the orbs. If you release the key it automatcaly use it.
Exmeplo 3: Hold a key to use aoe skills, rogues use fan of knives, priests mind seer, etc.

Ty
 
AsyncKeyState, but why should we use 'holding' keys when we can use 'Toggles'?
 
Give Storm a coffee, I'll sure he'll tell you more.
 
AsyncKeyState, but why should we use 'holding' keys when we can use 'Toggles'?

I don't know exactly how to explain but. When I'm controting my char I feel more confortable pausing the rotation when I'm holdin a key. Like it was in PQR.
And because if i turn something off, like using the resouce of my character, i can forget to turn it on again...

I think holdin a key is more 'dynamic', i love to see it implemented in any rotation but i can't find a sample. =/
 
This is HonorBuddy m8. Better get used to the style which HB uses :cool:.
 
This is HonorBuddy m8. Better get used to the style which HB uses :cool:.

I'll give another sample of pause key holding, let me say if i pause the rotation holding the shift key when somethink goes to 'O SHIT I NEED TO USE THE SPELL' so I hold shift and press the key.
With 'Toggles' i need to turn it off first then using the spell. It's slowly... But I get your point!
 
PureRotation has already SOME stuff with this, but not exactly what u want ... but as example ... take a look into PR it will show u how to do it
PHP:
new Decorator(ret => HotKeyManager.KeyboardPolling.IsKeyDown(PRSettings.Instance.Warrior.ArmsHLMod) && HotKeyManager.KeyboardPolling.IsKeyDown(Keys.LShiftKey) && Me.CurrentTarget != null && Me.CurrentTarget.Distance >= 8 && Me.CurrentTarget.Distance <= 40, Spell.CastOnGround(SpellBook.HeroicLeap, on => Me.CurrentTarget.Location)),
 
PureRotation has already SOME stuff with this, but not exactly what u want ... but as example ... take a look into PR it will show u how to do it
PHP:
new Decorator(ret => HotKeyManager.KeyboardPolling.IsKeyDown(PRSettings.Instance.Warrior.ArmsHLMod) && HotKeyManager.KeyboardPolling.IsKeyDown(Keys.LShiftKey) && Me.CurrentTarget != null && Me.CurrentTarget.Distance >= 8 && Me.CurrentTarget.Distance <= 40, Spell.CastOnGround(SpellBook.HeroicLeap, on => Me.CurrentTarget.Location)),

Consolidate the async check to IsAnyKeyDown.. Instead of looking the keys up twice if u decide to go this way :)
 
Back
Top