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

unit.activeSpell.spellWasCast -> why i'm not using it in my orbwalker [video+code]


  • Please log in to reply
1 reply to this topic

#1
gamsteron

gamsteron

    Advanced Member

  • Scripts Developer
  • 931 posts

I don't want solution (i can easy make alternative). This is message to developers. I am aware that it is not possible to repair this (it's not even broken). OnTick is executed with delay, so activeSpell is expiring before OnTick starts.

 

the third attack was not detected:

        local aas = myHero.activeSpell;
        if (aas and aas.spellWasCast) then
            print("casted " .. os.clock())
        end

  • 0

#2
Deftsu

Deftsu

    donthackourgames

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

yeah there is definitely some delay, has nothing to do with external though


  • 2




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users