- Joined
- Dec 24, 2019
- Messages
- 19
Hello! I am currently in the process of converting a map from JASS to LUA. Right now the map has no JASS script calls besides the standard manual
garbage collection in GUI triggers. The gist is that this map is done entirely in GUI (and there are quite a few triggers) and only uses the above JASS 'script'. I'd like to convert the map to Lua, and in order to do so I've read (and tested) that I need to either
[1]. Export all triggers, delete triggers, swap import triggers
[2]. Disable all triggers using the above custom script call
Now, since the GUI triggers are so interconnected, doing either of those will require hours of reconnecting units and triggers (since disabling a trigger disables dependencies etc. etc.)...
I was wondering if I would be able to just delete these RemoveLocation() calls without any major loss to performance? I've read/been told that LUA has its own garbage collection, making the above calls... unnecessary to an extent. If that is the case, then I would only need to delete 216 instances of the above call rather than spend an extra 2-3 hours adjusting the call and re-connecting triggers.
Thank you so much!

[1]. Export all triggers, delete triggers, swap import triggers
[2]. Disable all triggers using the above custom script call
Now, since the GUI triggers are so interconnected, doing either of those will require hours of reconnecting units and triggers (since disabling a trigger disables dependencies etc. etc.)...
I was wondering if I would be able to just delete these RemoveLocation() calls without any major loss to performance? I've read/been told that LUA has its own garbage collection, making the above calls... unnecessary to an extent. If that is the case, then I would only need to delete 216 instances of the above call rather than spend an extra 2-3 hours adjusting the call and re-connecting triggers.
Thank you so much!