2 replies [Last post]
Adrenaline Seed
Adrenaline Seed's picture
User offline. Last seen 1 year 27 weeks ago. Offline
Joined: 07/07/2010
Posts: 50

It works for "if %KeyCount% = 1" and "if %KeyCount% = 2" but if %KeyCount% = 3 does not work. I give myself plenty of timeout time, I can even tap the key really fast just to see if it shows up in the GCP addon as red (which means it tried to cast it but it wasn't ready)

Here is the whole script:

<<Heals>>
KeyReset 4500
if %KeyCount% = 1
cast Lesser Heal on Kineticaggro from Kineticcure
endif
if %KeyCount% = 2
cast Renew on Kineticaggro from Kineticcure
endif
if %KeyCount% = 3
cast Frost Armor on Kineticaggro from Kineticcure
KeyReset
endif

Phil
Phil's picture
User offline. Last seen 2 weeks 2 days ago. Offline
Joined: 06/30/2009
Posts: 571
3 things to try: 1) copy the

3 things to try:

1) copy the cast Renew on Kineticaggro from Kineticcure to after the bottom if. - in other words cast the same spell on key 2 and key 3. This will tell you if it's the key count or the spell which is the problem.
2) set the keyreset to something really silly (like 60000) to eliminate that as a possiblity.
3) Add an if %KeyCount% = 4 to see if it really is just 3 that's the problem

As a tip, you can see what GCP executes by checking the Debug check box - the command log will display each line of your script as it runs- you can then compare what it does for case 2 and 3.

Phil

__________________

Designer Of GameCommanderPro - www.GameCommanderPro.com
Designer Of KeyBlaster - www.keyblaster.com

Adrenaline Seed
Adrenaline Seed's picture
User offline. Last seen 1 year 27 weeks ago. Offline
Joined: 07/07/2010
Posts: 50
Haha, so I changed it to

Haha, so I changed it to Renew like you said and it worked, so I finally figured out I had the wrong from toon, too many things to keep track of, lol I trying to figure that out for an hour!

Good to know about the debugger, thanks.