Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

How to Detect , if i m Pressing Space

Detect Space Combo

Best Answer Sofie , 26 February 2017 - 07:55

function Mode()
    if _G.IOW_Loaded and IOW:Mode() then
        return IOW:Mode()
    elseif _G.PW_Loaded and PW:Mode() then
        return PW:Mode()
    elseif _G.DAC_Loaded and DAC:Mode() then
        return DAC:Mode()
    elseif _G.AutoCarry_Loaded and DACR:Mode() then
        return DACR:Mode()
    end
end

Use :

if Mode() == "Combo" then

  DoCombo()

end

if Mode () == "LaneClear" then
  DoLaneClear()
end

if Mode() == "Harass" then
  DoHarass()
end

if Mode() == "LastHit" then
  DoLastHit()
end

If you have more questions, send me a private message :)
Go to the full post »


  • Please log in to reply
4 replies to this topic

#1
KuroHK

KuroHK

    Newbie

  • Members
  • 5 posts
  • LocationBrazil
How do I detect if I am pressing a key such as Space V or Q,
Already used this method:
  --COMBO
    if IOW:Mode() == "Combo" then

        if TristanaTEst.Combo.Q:Value() and Ready(_Q) and ValidTarget(target, MeleeRange) then
            CastSpell(_Q)
        end

    end

It doesn't seem to work anymore, because the inspired orbWalker, does not appear to be Returning it correctly, there is another way to do the same? , Or a way to detect the keys without being bound to a OrbWalker?

 


  • 0

#2
RelaxKid

RelaxKid

    Member

  • Members
  • 25 posts
  • LocationMoon

 

How do I detect if I am pressing a key such as Space V or Q,
Already used this method:
  --COMBO
    if IOW:Mode() == "Combo" then

        if TristanaTEst.Combo.Q:Value() and Ready(_Q) and ValidTarget(target, MeleeRange) then
            CastSpell(_Q)
        end

    end

It doesn't seem to work anymore, because the inspired orbWalker, does not appear to be Returning it correctly, there is another way to do the same? , Or a way to detect the keys without being bound to a OrbWalker?

 

What are you trying to do exactly? xd


  • 0

#3
KuroHK

KuroHK

    Newbie

  • Members
  • 5 posts
  • LocationBrazil

What are you trying to do exactly? xd

Detect , Modes.
Combo , Lane Clear, LastHit etc.


  • 0

#4
Sofie

Sofie

    Advanced Member

  • Contributor
  • 233 posts
  • LocationPlanet Earth
✓  Best Answer
function Mode()
    if _G.IOW_Loaded and IOW:Mode() then
        return IOW:Mode()
    elseif _G.PW_Loaded and PW:Mode() then
        return PW:Mode()
    elseif _G.DAC_Loaded and DAC:Mode() then
        return DAC:Mode()
    elseif _G.AutoCarry_Loaded and DACR:Mode() then
        return DACR:Mode()
    end
end

Use :

if Mode() == "Combo" then

  DoCombo()

end

if Mode () == "LaneClear" then
  DoLaneClear()
end

if Mode() == "Harass" then
  DoHarass()
end

if Mode() == "LastHit" then
  DoLastHit()
end

If you have more questions, send me a private message :)

  • 1

#5
KuroHK

KuroHK

    Newbie

  • Members
  • 5 posts
  • LocationBrazil
function Mode()
    if _G.IOW_Loaded and IOW:Mode() then
        return IOW:Mode()
    elseif _G.PW_Loaded and PW:Mode() then
        return PW:Mode()
    elseif _G.DAC_Loaded and DAC:Mode() then
        return DAC:Mode()
    elseif _G.AutoCarry_Loaded and DACR:Mode() then
        return DACR:Mode()
    end
end

Use :

if Mode() == "Combo" then

  DoCombo()

end

if Mode () == "LaneClear" then
  DoLaneClear()
end

if Mode() == "Harass" then
  DoHarass()
end

if Mode() == "LastHit" then
  DoLastHit()
end

If you have more questions, send me a private message :)

 

 

Helped me a lot, Before I was using, IsKeyDown (), Now with Link to OrbWalker I believe that will improve a lot, Thanks < 3


  • 0





Also tagged with one or more of these keywords: Detect, Space, Combo

1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (1)