• 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!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Array memory leaks not removeable?

Status
Not open for further replies.
Level 2
Joined
Apr 10, 2010
Messages
22
I'm currently working on a GUI spell called Wrath of the wyrm which works with array indexing to make it MUI.
I've made an integer variable called WotW_Index, which increses each time the spell is cast and a bunch of arrays which use it as their index.

two of those arrays are locations==>they leak if they aren't removed.
so i've done this:
  • Set WotW_CasterLocation[WotW_Index] = (Position of WotW_Caster)
  • ................
  • Custom script: call RemoveLocation (udg_WotW_CasterLocation[WotW_Index])
and each time I'm trying to save I get the error I attached and my trigger is disabled.
I have checked everything 10 times...but no typing mistake....
:confused:
Something must be wrong with the syntax, but what?
 

Attachments

  • error.jpg
    error.jpg
    153 KB · Views: 79
Status
Not open for further replies.
Top