[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: 73
Status
Not open for further replies.
Top