Spell Lagg

qwerty123456

New Member
Reaction score
4
Could someone please tell my why my spell laggs so badly? :(

Trigger:
  • Multi Shockwave
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Shockwave
    • Actions
      • Set Caster = (Triggering unit)
      • Set CasterLoc = (Position of Caster)
      • Set RealAngle = 0.00
        • Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
          • Loop - Actions
            • Set Offset = (CasterLoc offset by 100.00 towards ((Facing of Caster) + RealAngle) degrees)
            • Unit - Create 1 Shockwave Dummy for (Owner of Caster) at CasterLoc facing Default building facing (270.0) degrees
            • Unit - Set level of Dummy Shockwave for (Last created unit) to (Level of Unknown (A02A) for Caster)
            • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave Offset
            • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            • Set RealAngle = (RealAngle + 45.00)
            • Custom script: call RemoveLocation(udg_Offset)
      • Custom script: call RemoveLocation(udg_CasterLoc)
 

HydraRancher

Truth begins in lies
Reaction score
197
Could someone please tell my why my spell laggs so badly? :(

Trigger:
  • Multi Shockwave
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) Shockwave
    • Actions
      • Set Caster = (Triggering unit)
      • Set CasterLoc = (Position of Caster)
      • Set RealAngle = 0.00
        • Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
          • Loop - Actions
            • Set Offset = (CasterLoc offset by 100.00 towards ((Facing of Caster) + RealAngle) degrees)
            • Unit - Create 1 Shockwave Dummy for (Owner of Caster) at CasterLoc facing Default building facing (270.0) degrees
            • Unit - Set level of Dummy Shockwave for (Last created unit) to (Level of Unknown (A02A) for Caster)
            • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave Offset
            • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
            • Set RealAngle = (RealAngle + 45.00)
            • Custom script: call RemoveLocation(udg_Offset)
      • Custom script: call RemoveLocation(udg_CasterLoc)

NOTE:
Trigger:
  • Unit - Set level of Dummy Shockwave for (Last created unit) to (Level of Unknown (A02A) for Caster)


Unknown? :p

1.Explain the "lagg"
2.Does it work?
3.Do any other triggers interfere?
 

qwerty123456

New Member
Reaction score
4
Yes, the spell works. (atleast I think so, hard to tell due to the lagg)
It starts to lagg when I cast the spell and does so until all the shockwaves have dissapeared... No other triggers interfere.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
It's been said that Shockwave is a very laggy default ability, and has been speculated to even leak, all on its own. Try using an alternative, like Crushing Wave.
 

LightChaosma

New Member
Reaction score
60
becuz 1 dummy cant fire 8 shockwaves at a time..

an improvement:
replace realangle by 45.00 x (integer A)
 

Rushhour

New Member
Reaction score
46
Sure it can't? Even if you set Cooldown time to zero? Because it works perfectly fine with all other spells I use. (never used shockwave though)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top