• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Why does this trigger create huge lag?

Not open for further replies.
Level 6
Feb 18, 2010
  • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Wild Growth
  • Actions
    • Set WildGrowthPoint = (Position of (Casting unit))
    • Set TempGroup = (Units within 300.00 of WildGrowthPoint matching (((Matching unit) belongs to an enemy of Player 12 (Brown)) Equal to True))
    • Unit Group - Pick every unit in TempGroup and do (Actions)
      • Loop - Actions
        • Unit - Create 1 Dummy [Wild GRowth] for (Owner of (Triggering unit)) at WildGrowthPoint facing 0.00 degrees
        • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
        • Unit - Order (Last created unit) to Human Priest - Inner Fire (Picked unit)
    • Custom script: call DestroyGroup (udg_TempGroup)
    • Custom script: call RemoveLocation (udg_WildGrowthPoint)
Level 8
Apr 30, 2009
it counts dead units too so if you have had dummy units there before, their invisible corpses also count as units. Add unit is alive = true into your unit group condition and try it
Not open for further replies.