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

Help with my first script


  • Please log in to reply
2 replies to this topic

#1
psegarra

psegarra

    Newbie

  • Members
  • 6 posts

So, I decided to learn lua and how to make scripts for lol using GoS.

I made a little Annie script, that works pretty decent, but when have to use the combo, and have the check "Save R for stunt", the spell cast order is Q > W > E instead of R > Q > E > W, and don't know why, can someone help me pls. https://github.com/p...ain/PSAnnie.lua

 

Thanks in advance.


  • 0

#2
Impuls

Impuls

    Advanced Member

  • Scripts Developer
  • 108 posts

Hey PS,
Been busy with other projects, but this was brought to my attention.
I took a look at your script. Mostly looks good to me. Very well done, goodjob.

Very clean. But simplicity might be underlying issue. Take this with a grain of salt though.

I'm currently make a few scripts of my own as well. I have an Annie templated out it's slightly different. I remember the same issue.
So, I want to try to help the best I can, more veteran guys might be more help. 
I'll try to debug a bit when I have some free time. Was wanting to add some prints in there to see exactly what's going on as it skips R/doesn't hold on to other skills, which goes into combo seems to require a bit more logic behind it. 
Range for R is smaller than max Q & W, Hold till in that range to unload, I was able to get it to use R first a few times while playing around but I believe I was just sitting still and had enemy moving towards me. Might be of some incite.

In my testing yours seems to default to E>Q>W which is fine for being at 3 stacks then using combo to E>R>Q>W.
Dodge only dangerous for reference when spacebar for combo is used.
Annie.gif?raw=true
 


  • 1

#3
psegarra

psegarra

    Newbie

  • Members
  • 6 posts

First of all thanks for the reply.

I'll keep investigating why sometimes skips R, I printed the spells when casted for debugging, and the order it shows is the correct order (R>Q>E>W, that's the order in de combo logic) but for some reason it skips the ultimate. I think probably is for the cast time, Is there anyway to cancel a spell like an autoattack? because seems like is that, probably? I don't know. I'll keep investigating.

 

Again, thanks!


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users