Help in removing leaks

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
how can i remove this leak. with its array.


Code:
Set unknown_Caster_Position[(Player number of (Owner of (Triggering unit)))] = (Position of (Triggering unit))

please show me a custom script that removes above. (the part which is array and player number of owner of triggering unit is the part where I am at a total lost) thanks.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Code:
call DestroyLocation(udg_yourregion)
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
not that..


Code:
call RemoveLocation(udg_Temp_Point[<this array is the part that is troubling me])

how can i remove a player number of owner of triggering unit array there..?
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
You put the array number in... it still works...

Just put an if/then in and check for which player it is then play the custom script.

Code:
call removegroup(udg_group[1])
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
You put the array number in... it still works...

Just put an if/then in and check for which player it is then play the custom script.

Code:
call removegroup(udg_group[1])

I KNOW that it works. its just is there any shorcut as just putting

call RemoveLocation(udg_temp_Point[Player number of owner of triggering unit])
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,494
Make a new trigger, put that array line in there, use menu: Edit / Convert to custom script.
You'll see what it does with that "player number of ...".
Copy&paste it over to your actual trigger.
 
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