• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

Removing Array Variable Leaks

Status
Not open for further replies.
Sorry if I misunderstood your question, but if you're looking to remove all the leaks at once in an array variable:
  • For each (Integer A) from 0 to 11, do (Actions)
    • Loop - Actions
      • Custom script: call RemoveLocation(udg_MyPointArray[bj_forLoopAIndex])
If you're seeking to only remove one location then you should do something like
  • Custom script: call RemoveLocation(udg_MyPointArray[MyNumber])
 
Status
Not open for further replies.
Top