• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] memory leak help

Status
Not open for further replies.
Level 3
Joined
Jul 19, 2007
Messages
19
my region varible "Path" is an array, is it correct to and the index to the script?

just wondering because I haven't seen it in any of the tuts I've looked at so far

JASS:
call RemoveLocation(udg_Path[1])
 
Level 3
Joined
Jul 19, 2007
Messages
19
that's what I assumed, but a while after posting this I saved the map and an error message came up, thinking it was because of the array I re-made the variable without it but saving the game caused the same error message :|

errorzr0.png


messageda6.png


triggerjn0.png


can you please tell me what I'm doing wrong?
 
Status
Not open for further replies.
Top