Does this leaks?

naughty

New Member
Reaction score
12
Trigger:
  • Poisoned Ground
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Poisoned Ground
    • Actions
      • Set U_Poisoned_Ground = (Casting unit)
      • Set L_Poisoned_Ground = (Position of (Casting unit))
      • <b>For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Special Effect - Create a special effect at (L_Poisoned_Ground offset by 100.00 towards ((Real((Integer A))) x 45.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
          • Set E[(Integer A)] = (Last created special effect)
          • Special Effect - Create a special effect at (L_Poisoned_Ground offset by 175.00 towards ((Real((Integer A))) x 60.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
          • Set E2[(Integer A)] = (Last created special effect)
          • Special Effect - Create a special effect at (L_Poisoned_Ground offset by 250.00 towards ((Real((Integer A))) x 75.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
          • Set E3[(Integer A)] = (Last created special effect)
          • Special Effect - Create a special effect at (L_Poisoned_Ground offset by 325.00 towards ((Real((Integer A))) x 90.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
          • Set E4[(Integer A)] = (Last created special effect)</b>
      • Unit - Create 1 Poisoned Ground Aura Dummy for (Owner of (Casting unit)) at L_Poisoned_Ground facing Default building facing degrees
      • Unit - Set level of Poisoned Ground -move speed for (Last created unit) to (Level of Poisoned Ground for U_Poisoned_Ground)
      • Unit - Set level of Posioned Ground -armor for (Last created unit) to (Level of Poisoned Ground for U_Poisoned_Ground)
      • Unit - Set level of Poisoned Ground -hp for (Last created unit) to 1
      • Unit - Order (Last created unit) to Undead Lich - Death And Decay L_Poisoned_Ground
      • Unit - Add a 12.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_L_Poisoned_Ground)


Creating a special effect to a point with offset is another location right? So does it leaks? And how do i fix it if it does?
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Yes Make a variable that has that point with offset and u didnt destroy the effects that leaks two
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Ok then if u fix what i said then its leakless
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Why do you set this variable:
Trigger:
  • Set U_Poisoned_Ground = (Casting unit)


Can't see you using that anywhere :S
Use that instead of Casting unit ;)
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Ya i missed that Hmm

Hey Komaaqtion go check ur PMs
 
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