• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[JASS] Memory leaks in unit arrays

Status
Not open for further replies.
Level 7
Joined
May 6, 2005
Messages
390
If you want to remove leaks by removing the units, use a loop. If you want to destroy it if it's a local unit array, use a loop too.
 
Level 7
Joined
May 6, 2005
Messages
390
Sorry but as I can't see the script I can't help you. I suggest you to use the handle vars, get them from The JASS Vault. Ask questions about them there aswell, I can't help you the next two weeks, as I'm going on holiday :D .
 
Status
Not open for further replies.
Top