• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Leaks

Status
Not open for further replies.
Level 6
Joined
Mar 5, 2010
Messages
149
Well, I know that this leaks several times, but how can I fix it?

  • Cinematic
    • Events
    • Conditions
    • Actions
      • Cinematic - Turn cinematic mode On for (All players)
      • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
      • Cinematic - Disable user control for (All players)
      • Cinematic - Clear the screen of text messages for (All players)
      • Cinematic - Turn subtitle display override On
      • Camera - Apply Cin1 <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Cin1 <gen> for Player 8 (Pink) over 0.00 seconds
      • Camera - Run camera for Player 1 (Red) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 2 (Blue) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 3 (Teal) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 4 (Purple) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 5 (Yellow) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 6 (Orange) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 7 (Green) through cinematic.mdl cinematic camera
      • Camera - Run camera for Player 8 (Pink) through cinematic.mdl cinematic camera
      • Cinematic - Send transmission to (All players) from a Neutral Passive Legionaire named Deserted Legionaire at (Center of Cin1 <gen>): Play No sound and display Thousends of years .... Modify duration: Set to 15.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from a Neutral Passive Legionaire named Deserted Legionaire at (Center of Cin1 <gen>): Play No sound and display See F9 for commands.... Modify duration: Set to 10.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from a Neutral Passive Legionaire named Deserted Legionaire at (Center of Cin1 <gen>): Play No sound and display Made by: Snacker T.... Modify duration: Set to 10.00 seconds and Don't wait
      • Wait 10.00 seconds
      • Unit - Create 3 Roman Cavalry for Player 9 (Gray) at (Center of Cin1 <gen>) facing (Center of Cin2 <gen>)
      • Unit - Create 5 Berserker for Player 10 (Light Blue) at (Center of Cin2 <gen>) facing (Center of Cin1 <gen>)
      • Unit Group - Pick every unit in (Units in Cin2 <gen>) and do (Unit Group - Order (Units in (Playable map area)) to Move To (Center of Cin4 <gen>))
      • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
      • Camera - Apply Cin2 <gen> for Player 1 (Red) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 2 (Blue) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 3 (Teal) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 4 (Purple) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 5 (Yellow) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 6 (Orange) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 7 (Green) over 0.00 seconds
      • Camera - Apply Cin2 <gen> for Player 8 (Pink) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from a Player 9 (Gray) Roman Cavalry named Roman Cavalry Comma... at (Center of Cin1 <gen>): Play No sound and display Charge!!!. Modify duration: Set to 3.00 seconds and Don't wait
      • Wait 5.00 seconds
      • Unit - Remove Legionaire 0013 <gen> from the game
      • Wait 25.00 game-time seconds
      • Cinematic - Turn cinematic mode Off for (All players)
      • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 2 (Blue) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 3 (Teal) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 4 (Purple) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 5 (Yellow) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 6 (Orange) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 7 (Green) to standard game-view over 0.00 seconds
      • Camera - Reset camera for Player 8 (Pink) to standard game-view over 0.00 seconds
      • Trigger - Run MapSettings1 Income <gen> (checking conditions)
      • Wait 5.00 seconds
      • Unit Group - Pick every unit in (Units in Cin3 <gen>) and do (Unit - Remove (Picked unit) from the game)
 
Level 13
Joined
Feb 18, 2009
Messages
1,381
Use variables!
For example instead of
  • Unit Group - Pick every unit in (Units in Cin2 <gen>) and do (Unit Group - Order (Units in (Playable map area)) to Move To (Center of Cin4 <gen>))
use
  • Set something = (Units in (Playable map area))
  • Unit Group - Pick every unit in (Units in Cin2 <gen>) and do (Unit Group - Order (Units in (something)) to Move To (Center of Cin4 <gen>)
 
Level 15
Joined
Aug 31, 2009
Messages
778
Use variables!
For example instead of
  • Unit Group - Pick every unit in (Units in Cin2 <gen>) and do (Unit Group - Order (Units in (Playable map area)) to Move To (Center of Cin4 <gen>))
use
  • Set something = (Units in (Playable map area))
  • Unit Group - Pick every unit in (Units in Cin2 <gen>) and do (Unit Group - Order (Units in (something)) to Move To (Center of Cin4 <gen>)

You're missing the fact that the group then needs to be destroyed after use.
  • Custom script: call DestroyGroup(udg_something)
You also need to clean up those point leaks. For example,
  • Set TempPoint = Center of Cin 1 <gen>
  • ------- Actions to do with this point. For you, order the units to move to this point -------
  • Custom script: call RemoveLocation(udg_TempPoint)
EDIT: Also, it's spelt "Thousands" not "Thousends"
 
Level 2
Joined
Jun 27, 2010
Messages
20
i believe player groups also leak, do they not?

same deal:
  • Set player group = (all players)
  • Custom script: call DestroyForce(udg_player_group)
also, when you have a space in a variable :/ you have to use an underline thing "_" in replacement of that space...

and... woot? first post >.>
 
Status
Not open for further replies.
Top