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

detect your AA got canceled


  • Please log in to reply
13 replies to this topic

#1
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

This is a script for dev or anyone want to check if their AA got canceled by script or not

 

just copy these code and save it in your testscript2.lua

local myHero = GetMyHero()
OnAttackCancel(function(unit, result)
  if unit == myHero then
    if result.flag2 == 1 then
      PrintChat("OnAttackCancel : GG")
    end
  end
end)

when your AA got canceled, it'll print "OnAttackCancel : GG" in the chat

 

 

P.S. this checker is based on an undocumented api, means it may not work well


  • 0

#2
Yun

Yun

    Advanced Member

  • Members
  • 177 posts

i am challenger now 


  • 0

#3
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts
 

i am challenger now 

 
:nod:

  • 0

#4
klurosu

klurosu

    Advanced Member

  • Donator
  • 210 posts
  • LocationAtlanta

it works for me with the "old" IOW ans Inspired ;)

thx dude


  • 0

#5
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

it works for me with the "old" IOW ans Inspired ;)

thx dude

uh....it work for any script.....


  • 1

#6
Condim

Condim

    Advanced Member

  • Members
  • 371 posts

It will go crazy with Riven, prob can't read chat Kappa


  • 0

#7
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

It will go crazy with Riven, prob can't read chat Kappa

why?

 

if the riven script do the AA right, it won't print anything


  • 0

#8
BaeSuzy

BaeSuzy

    Advanced Member

  • Members
  • 388 posts
  • LocationBae Suzy

why not add into the permshow it will help when if tell AA cancel GG or not GG, btw spamming printchat. is kinda annoy lol
kX0mW.jpg
 


  • 0

#9
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

why not add into the permshow it will help when if tell AA cancel GG or not GG, btw spamming printchat. is kinda annoy lol
kX0mW.jpg
 

what are you talking about ? this is just for devs to add some check for their orbwalkers not for normal users ..


  • 0

#10
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

why not add into the permshow it will help when if tell AA cancel GG or not GG, btw spamming printchat. is kinda annoy lol
kX0mW.jpg
 

coz no one use this script in real game....it just for testing...

 

 

and without this script, the only way to check AA is  "dmg text", imagine if you have 2.5 AS..... rip :popcorn:


Edited by ilovesona, 25 October 2015 - 02:01 .

  • 0

#11
Cloud

Cloud

    KAPPA

  • Ex-Staff
  • PipPipPip
  • 1,498 posts

Kreygasm undocumented API! Well ill find out what else fere is hidding from us with dat source code


  • 0

#12
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Kreygasm undocumented API! Well ill find out what else fere is hidding from us with dat source code

lol he only said it in change log....anyways gl


  • 0

#13
Condim

Condim

    Advanced Member

  • Members
  • 371 posts

i try it for testing, and it actually cancels my animation while last hitting minions more often. Doing the jerky move, it says onattackcancel, and doesn't even shoot.


  • 0

#14
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

i try it for testing, and it actually cancels my animation while last hitting minions more often. Doing the jerky move, it says onattackcancel, and doesn't even shoot.

yes, this script only print chat when your atk deal no damage, not cancel atk animation


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users