Help with leaks

Status
Not open for further replies.
Level 4
Joined
Dec 3, 2012
Messages
51
Hi,

Im making a map, and now am in the process of making my triggers leakless. I have seen guides, but would like to know if this particular trigger leaks (and others if people are willing). Here is a basic teleport trigger, which I have used for about 10 areas.

  • Enter Sewer
    • Events
      • Unit - A unit enters Sewer Entrance <gen>
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Entering unit)) Equal to Player 9 (Gray)
          • (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
          • (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
    • Actions
      • Set Point = (Center of Inside Sewer Entrance <gen>)
      • Unit - Move (Entering unit) instantly to Point
      • Custom script: call RemoveLocation (udg_Point)
Do I need to set the location to a point and destroy the point after (and if so is this the proper method)?

Thanks
 
Status
Not open for further replies.
Back
Top