Lag when call UnitAddAbility

Skippy

Active Member
Reaction score
39
Hello,
I have one simple question:
There is a lag in my map when I use call UnitAddAbility(GetTriggerUnit(), 'A002') in my spell trigger for a first time ('A002' is endurance aura).
Why and is there any way to fix it?

Thank you for answers.
 

Avaleirra

Is back. Probably.
Reaction score
128
Do you have a large number of levels in the ability? That causes lag. If this is going on a dummy you can give it to him as a default ability rather than add it as a trigger. Then I would suggest preloading it to stop in-game lag.
 

Avaleirra

Is back. Probably.
Reaction score
128
All you need to do is create one of those units at either map initialization or elapsed time 0.01 and then remove it. (forgot which)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top