• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Does any of this leak?

Status
Not open for further replies.
Level 8
Joined
Jul 17, 2004
Messages
283
Does any of this leak? If so, how and what needs cleaning?

PlayerCount is an Integer variable.

  • Set PlayerCount = (Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))))
  • Animation - Play Armored Knight 0005 <gen>'s attack animation
  • Game - Display to (Player group((Triggering player))) for 0.50 seconds the text: Test
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Camera - Apply Cam <gen> for (Picked player) over 0.01 seconds
  • Special Effect - Create a special effect at (Position of Armored Knight 0005 <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
  • Special Effect - Destroy (Last created special effect)
 
Level 22
Joined
Aug 27, 2013
Messages
3,973
you should destroy your first trigger when you're done using it
and use this
  • Set TempPoint = (Position of Armored Knight 0005 <gen>)
  • Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
  • Special Effect - Destroy (Last created special effect)
  • call RemoveLocation(udg_TempPoint)
 
Status
Not open for further replies.
Top