Does this have major leaks?

Moon_Raven

New Member
Reaction score
8
Deos this leak?
Code:
Summon Players
    Events
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic3 <gen> for (Picked player) over 0.00 seconds
        Wait 2.00 seconds
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic4 <gen> for (Picked player) over 4.37 seconds
        Wait 4.37 seconds
        Sound - Play LightningBolt1 <gen>
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic5 <gen> for (Picked player) over 14.73 seconds
        Wait 2.73 seconds
        Destructible - Create a Shimmering Portal at (Point(-7681.00, 8576.00)) facing 270.00 with scale 1.00 and variation 0
        Special Effect - Create a special effect at (Position of Circle of Power 0005 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0007 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0003 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0009 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0010 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0004 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0008 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0006 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Sound - Play LightningBolt1 <gen>
        Unit - Create 1 Highlander for Player 1 (Red) at (Position of Circle of Power 0005 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 2 (Blue) at (Position of Circle of Power 0007 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 3 (Teal) at (Position of Circle of Power 0003 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 4 (Purple) at (Position of Circle of Power 0009 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 5 (Yellow) at (Position of Circle of Power 0010 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 6 (Orange) at (Position of Circle of Power 0004 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 7 (Green) at (Position of Circle of Power 0008 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 8 (Pink) at (Position of Circle of Power 0006 <gen>) facing 90.00 degrees
        Set TempDestructible = (Last created destructible)
        Animation - Play TempDestructible's Birth animation
        Wait 11.30 seconds
        Special Effect - Create a special effect at (Point(-7761.00, 8373.00)) using Abilities\Spells\Items\AIil\AIilTarget.mdl
        Special Effect - Create a special effect at (Point(-7591.00, 8373.00)) using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
        Sound - Play MassTeleportTarget <gen>
        Wait 0.50 seconds
        Unit - Create 1 Purple_H for Player 4 (Purple) at (Point(-7761.00, 8373.00)) facing 270.00 degrees
        Set TempUnit = (Last created unit)
        Unit - Change ownership of (Last created unit) to Player 10 (Light Blue) and Retain color
        Unit - Create 1 Moon_Raven for Player 10 (Light Blue) at (Point(-7591.00, 8373.00)) facing 270.00 degrees
        Set TempUnit2 = (Last created unit)
        Wait 3.00 seconds
        Sound - Play Sound_01_CINEMATIC <gen>
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic 6 <gen> for (Picked player) over 0.00 seconds
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic7 <gen> for (Picked player) over 14.00 seconds
        Wait 16.89 seconds
        Animation - Play TempUnit2's Spell animation
        Wait 1.20 seconds
        Special Effect - Create a special effect at (Point(-7761.00, 8373.00)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
        Special Effect - Create a special effect at (Point(-7591.00, 8373.00)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
        Sound - Play MassTeleportTarget <gen>
        Wait 0.50 seconds
        Unit - Remove TempUnit from the game
        Unit - Remove TempUnit2 from the game
        Animation - Play TempDestructible's Death animation
        Wait 2.97 seconds
        Custom script:   call RemoveDestructable(udg_TempDestructible)
        Cinematic - Turn cinematic mode Off for (All players)
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply PlayCamera1 <gen> for (Picked player) over 1.50 seconds
        Visibility - Disable TempVisMod1
        Visibility - Disable TempVisMod2
        Destructible - Open City Entrance 0089 <gen>
        Trigger - Run Let the Game Begin <gen> (checking conditions)
        Set Num_of_Players = (Number of players)
If it does(and I guess it does) can you just a few examples how to fix, and I will understand the rest of the same type?
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Code:
        Destructible - Create a Shimmering Portal at (Point(-7681.00, 8576.00)) facing 270.00 with scale 1.00 and variation 0
        Special Effect - Create a special effect at (Position of Circle of Power 0005 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0007 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0003 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0009 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0010 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0004 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0008 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Special Effect - Create a special effect at (Position of Circle of Power 0006 <gen>) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Unit - Create 1 Highlander for Player 1 (Red) at (Position of Circle of Power 0005 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 2 (Blue) at (Position of Circle of Power 0007 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 3 (Teal) at (Position of Circle of Power 0003 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 4 (Purple) at (Position of Circle of Power 0009 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 5 (Yellow) at (Position of Circle of Power 0010 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 6 (Orange) at (Position of Circle of Power 0004 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 7 (Green) at (Position of Circle of Power 0008 <gen>) facing 90.00 degrees
        Unit - Create 1 Highlander for Player 8 (Pink) at (Position of Circle of Power 0006 <gen>) facing 90.00 degrees
        Special Effect - Create a special effect at (Point(-7761.00, 8373.00)) using Abilities\Spells\Items\AIil\AIilTarget.mdl
        Special Effect - Create a special effect at (Point(-7591.00, 8373.00)) using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
        Unit - Create 1 Purple_H for Player 4 (Purple) at (Point(-7761.00, 8373.00)) facing 270.00 degrees
        Unit - Create 1 Moon_Raven for Player 10 (Light Blue) at (Point(-7591.00, 8373.00)) facing 270.00 degrees
All of those actions leak points, you really need to clean them up, since it's that many.

To clean them up, just set them to a point variable, and then use this custom script to destroy the leak:
call RemoveLocation(udg_Your_Point_Variable)
Example:
Trigger:
  • Remove Leaks
    • Events
    • Conditions
    • Actions
      • Set TempPoint = (Position of Circle of Power 0005 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempPoint using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempPoint)
 

Moon_Raven

New Member
Reaction score
8
Can I just put set the location to tempLoc before each action, and then put just one removeLoc at the end like this:
Code:
set TempLoc = Conversion(x,y)
Destructible - Create a Shimmering Portal at TempLoc facing 270.00 with scale 1.00 and variation 0
set TempLoc = PositionofUnit(Circle01)
Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
set TempLoc = positionofUnit(Circle02)
Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Custom Script - call RemoveLoc(TempLoc)

or do I have to Remove the location after eaxh command like this:
Code:
set TempLoc = Conversion(x,y)
Destructible - Create a Shimmering Portal at TempLoc facing 270.00 with scale 1.00 and variation 0
Custom Script - call RemoveLoc(TempLoc)
set TempLoc = PositionofUnit(Circle01)
Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Custom Script - call RemoveLoc(TempLoc)
set TempLoc = positionofUnit(Circle02)
Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Custom Script - call RemoveLoc(TempLoc)
???
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Use the second one, or just set each one into a seperate array, and then in the end, use an integer loop to destroy them all. think your second one is more effecient but not sure :S
 

Moon_Raven

New Member
Reaction score
8
Omg. So are there any leaks left in here???
Code:
Summon Players
    Events
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic3 <gen> for (Picked player) over 0.00 seconds
        Wait 2.00 seconds
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic4 <gen> for (Picked player) over 4.37 seconds
        Wait 4.37 seconds
        Sound - Play LightningBolt1 <gen>
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic5 <gen> for (Picked player) over 14.73 seconds
        Wait 2.73 seconds
        Set TempLoc = (Point(-7681.00, 8576.00))
        Destructible - Create a Shimmering Portal at (Point(-7681.00, 8576.00)) facing 270.00 with scale 1.00 and variation 0
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0005 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0007 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0003 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0009 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0010 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0004 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0008 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0006 <gen>)
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Sound - Play LightningBolt1 <gen>
        Set TempLoc = (Position of Circle of Power 0005 <gen>)
        Unit - Create 1 Highlander for Player 1 (Red) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0007 <gen>)
        Unit - Create 1 Highlander for Player 2 (Blue) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0003 <gen>)
        Unit - Create 1 Highlander for Player 3 (Teal) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0009 <gen>)
        Unit - Create 1 Highlander for Player 4 (Purple) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0010 <gen>)
        Unit - Create 1 Highlander for Player 5 (Yellow) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0004 <gen>)
        Unit - Create 1 Highlander for Player 6 (Orange) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0008 <gen>)
        Unit - Create 1 Highlander for Player 7 (Green) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Position of Circle of Power 0006 <gen>)
        Unit - Create 1 Highlander for Player 8 (Pink) at TempLoc facing 90.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempDestructible = (Last created destructible)
        Animation - Play TempDestructible's Birth animation
        Wait 11.30 seconds
        Set TempLoc = (Point(-7761.00, 8373.00))
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\AIil\AIilTarget.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Point(-7591.00, 8373.00))
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Sound - Play MassTeleportTarget <gen>
        Wait 0.50 seconds
        Set TempLoc = (Point(-7761.00, 8373.00))
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\AIil\AIilTarget.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Point(-7761.00, 8373.00))
        Unit - Create 1 Purple_H for Player 4 (Purple) at TempLoc facing 270.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempUnit = (Last created unit)
        Unit - Change ownership of (Last created unit) to Player 10 (Light Blue) and Retain color
        Set TempLoc = (Point(-7591.00, 8373.00))
        Unit - Create 1 Moon_Raven for Player 10 (Light Blue) at TempLoc facing 270.00 degrees
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempUnit2 = (Last created unit)
        Wait 3.00 seconds
        Sound - Play Sound_01_CINEMATIC <gen>
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic 6 <gen> for (Picked player) over 0.00 seconds
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply Cinematic7 <gen> for (Picked player) over 14.00 seconds
        Wait 16.89 seconds
        Animation - Play TempUnit2's Spell animation
        Wait 1.20 seconds
        Set TempLoc = (Point(-7761.00, 8373.00))
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Set TempLoc = (Point(-7591.00, 8373.00))
        Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
        Custom script:   call RemoveLocation(udg_TempLoc)
        Sound - Play MassTeleportTarget <gen>
        Wait 0.50 seconds
        Unit - Remove TempUnit from the game
        Unit - Remove TempUnit2 from the game
        Animation - Play TempDestructible's Death animation
        Wait 2.97 seconds
        Custom script:   call RemoveDestructable(udg_TempDestructible)
        Cinematic - Turn cinematic mode Off for (All players)
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Camera - Apply PlayCamera1 <gen> for (Picked player) over 1.50 seconds
        Visibility - Disable TempVisMod1
        Visibility - Disable TempVisMod2
        Destructible - Open City Entrance 0089 <gen>
        Trigger - Run Let the Game Begin <gen> (checking conditions)
or in wc3 tag if it is easier for you:
Trigger:
  • Summon Players
    • Events
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Cinematic3 &lt;gen&gt; for (Picked player) over 0.00 seconds
      • Wait 2.00 seconds
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Cinematic4 &lt;gen&gt; for (Picked player) over 4.37 seconds
      • Wait 4.37 seconds
      • Sound - Play LightningBolt1 &lt;gen&gt;
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Cinematic5 &lt;gen&gt; for (Picked player) over 14.73 seconds
      • Wait 2.73 seconds
      • Set TempLoc = (Point(-7681.00, 8576.00))
      • Destructible - Create a Shimmering Portal at (Point(-7681.00, 8576.00)) facing 270.00 with scale 1.00 and variation 0
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0005 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0007 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0003 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0009 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0010 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0004 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0008 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0006 &lt;gen&gt;)
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Sound - Play LightningBolt1 &lt;gen&gt;
      • Set TempLoc = (Position of Circle of Power 0005 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 1 (Red) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0007 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 2 (Blue) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0003 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 3 (Teal) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0009 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 4 (Purple) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0010 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 5 (Yellow) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0004 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 6 (Orange) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0008 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 7 (Green) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Position of Circle of Power 0006 &lt;gen&gt;)
      • Unit - Create 1 Highlander for Player 8 (Pink) at TempLoc facing 90.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempDestructible = (Last created destructible)
      • Animation - Play TempDestructible&#039;s Birth animation
      • Wait 11.30 seconds
      • Set TempLoc = (Point(-7761.00, 8373.00))
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\AIil\AIilTarget.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Point(-7591.00, 8373.00))
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Sound - Play MassTeleportTarget &lt;gen&gt;
      • Wait 0.50 seconds
      • Set TempLoc = (Point(-7761.00, 8373.00))
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Items\AIil\AIilTarget.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Point(-7761.00, 8373.00))
      • Unit - Create 1 Purple_H for Player 4 (Purple) at TempLoc facing 270.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempUnit = (Last created unit)
      • Unit - Change ownership of (Last created unit) to Player 10 (Light Blue) and Retain color
      • Set TempLoc = (Point(-7591.00, 8373.00))
      • Unit - Create 1 Moon_Raven for Player 10 (Light Blue) at TempLoc facing 270.00 degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempUnit2 = (Last created unit)
      • Wait 3.00 seconds
      • Sound - Play Sound_01_CINEMATIC &lt;gen&gt;
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Cinematic 6 &lt;gen&gt; for (Picked player) over 0.00 seconds
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Cinematic7 &lt;gen&gt; for (Picked player) over 14.00 seconds
      • Wait 16.89 seconds
      • Animation - Play TempUnit2&#039;s Spell animation
      • Wait 1.20 seconds
      • Set TempLoc = (Point(-7761.00, 8373.00))
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Set TempLoc = (Point(-7591.00, 8373.00))
      • Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Sound - Play MassTeleportTarget &lt;gen&gt;
      • Wait 0.50 seconds
      • Unit - Remove TempUnit from the game
      • Unit - Remove TempUnit2 from the game
      • Animation - Play TempDestructible&#039;s Death animation
      • Wait 2.97 seconds
      • Custom script: call RemoveDestructable(udg_TempDestructible)
      • Cinematic - Turn cinematic mode Off for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply PlayCamera1 &lt;gen&gt; for (Picked player) over 1.50 seconds
      • Visibility - Disable TempVisMod1
      • Visibility - Disable TempVisMod2
      • Destructible - Open City Entrance 0089 &lt;gen&gt;
      • Trigger - Run Let the Game Begin &lt;gen&gt; (checking conditions)

Omg. TempLoc,TemoLoc,TempLocTemoLoc, I will have nightmares of TempLoc.
Does Playing sounds leak?Changing Camera? Picking Players when I change Camera? If not, I think this trigger is done...
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Nope, well Player Groups leak, but not (All Players);)

Though, paning the camera to a location leaks a point but you don't use that so it's ok :D
 

X-maul

AKA: Demtrod
Reaction score
201
well the only way to do it that way, or maybe you could make it in a loop, but if you dont want it to leak, then you need to do it like that...
 

Moon_Raven

New Member
Reaction score
8
Yeah, I will make that a loop. I'll make the creation of the units and effects a loop. Can I write it in JASS in the custom script text on the map icon in trigger editor I mean a function SummonPlayers and then just put the custom script action in this trigger which does "call SummonPlayers()" ???
EDIT: And speciall effects? I don't see I removed them here, they leak, don't they?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      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