Spellpack Overgrowth, Death Pulse

R

roflcopter=P

Guest
hello?

how do you do negatif numbers? :banghead:
it alway set it to 0.00
 

Jolly chap*

New Member
Reaction score
34
Code:
Overgrowth 
    Actions
        Unit Group - Pick every unit in OG_Group and do (Actions)
            Loop - Actions
                Set OG_Point = (Position of (Picked unit))
                Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at OG_Point facing Default building facing degrees
                Unit - Set level of Overgrowth (Dummy)  for (Last created unit) to (Level of Overgrowth  for (Triggering unit))
                Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                Custom script:   call RemoveLocation(udg_OG_Point)
        Custom script:   call DestroyGroup(udg_OG_Group)

Um ... don't put a custom script in a loop please. I think you're not supposed to? But if it works, oh well. :banghead:
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
If you want point leaks equivalent to the amount of units in the unit group, then you should not put the custom script in the loop. Though if you want a leak-free code that doesn't mess your map up eventually, then you should put that custom script in the loop.
 
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