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

I wanna ask some question about API


  • Please log in to reply
3 replies to this topic

#1
arsoitee

arsoitee

    Member

  • Members
  • 20 posts

- it possible to detect incoming skill rather than Onprocessspell ?

Example : If incoming skill = Veigar Ultimate and incoming Damage > myHP  then ........ end ( detect  Zhonya and use or ETC.)

 

- Is is possible to play sound file because I'm using it with AutoGankDetect Alert ?


- it will good if AutoDoge can specific amount nearby enemie with range .

Example : It will good if you solo in lane and using AutoDodge but it will bad if you use AutoDoge with escape enemies  because your Hero will dodge block of skill and not walk toward for escape. 

 

- it will good if have timer function to detect nearby enemies and Get Timer Example : You 2vs2 in lane and have 3rd person to gank you and your friend and your timer detect him is not around you and your friend last 20 s.  and tick/alert/sign on minimap auto   

- I note tick it will good if having some mastery detect name because It use multiple with some function example : CalDamage.

Thank you so much , sorry for my bad English.


  • 0

#2
Lelouch

Lelouch

    ?

  • Members
  • 464 posts

- it possible to detect incoming skill rather than Onprocessspell ?

Example : If incoming skill = Veigar Ultimate and incoming Damage > myHP  then ........ end ( detect  Zhonya and use or ETC.)

 

- Is is possible to play sound file because I'm using it with AutoGankDetect Alert ?

- it will good if AutoDoge can specific amount nearby enemie with range .

Example : It will good if you solo in lane and using AutoDodge but it will bad if you use AutoDoge with escape enemies  because your Hero will dodge block of skill and not walk toward for escape. 

 

- it will good if have timer function to detect nearby enemies and Get Timer Example : You 2vs2 in lane and have 3rd person to gank you and your friend and your timer detect him is not around you and your friend last 20 s.  and tick/alert/sign on minimap auto   

- I note tick it will good if having some mastery detect name because It use multiple with some function example : CalDamage.

Thank you so much , sorry for my bad English.

For detecting skills, check my Yi Script. Try to compare spellProc.name with a table.

 

For timing use GetTickCount() and GoS:DelayAction(function() doStuff, delay)


  • 0

#3
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

you can't play sound file with current api, but i think it's possible if you write your own one


  • 0

#4
arsoitee

arsoitee

    Member

  • Members
  • 20 posts

For detecting skills, check my Yi Script. Try to compare spellProc.name with a table.

 

For timing use GetTickCount() and GoS:DelayAction(function() doStuff, delay)

Oh Thankyou for your guide 

I use GoS:DelayAction(function() doStuff, delay) with Viktor to getbuff and delay action to instantly resetAA it work great!  but I very confuse if you many loop (for LeBlanc Q-R-E or another non delay combo Hero)

 

I have tried with GoS:DelayAction() but not test GectTickCount() yet because I read API document and I not found description some API Syntax 

 

you can't play sound file with current api, but i think it's possible if you write your own one

I have search on internet and try to modify code but not work , 
Thank for your guide , I planning to world to screen ratio and Alert Signal on minimap instead.

 
 
Thankyou so much again. 

  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users