- Joined
- Jul 30, 2018
- Messages
- 445
Hey!
This may seems a bit simple question, yet I have not been able to find an answer for it.
With JASS, one can make an initializer to make a function run on map init. Or you can convert an empty GUI trigger to Custom Text and then check "Run on Map Initialization".
But is there such a thing for Lua? I've been trying to Google and search the answer, but apparently there aren't that much people making Lua tutorials for Warcraft 3. It just seems a bit silly to make a bunch of Lua functions and then call them all in a GUI trigger...
This may seems a bit simple question, yet I have not been able to find an answer for it.
With JASS, one can make an initializer to make a function run on map init. Or you can convert an empty GUI trigger to Custom Text and then check "Run on Map Initialization".
But is there such a thing for Lua? I've been trying to Google and search the answer, but apparently there aren't that much people making Lua tutorials for Warcraft 3. It just seems a bit silly to make a bunch of Lua functions and then call them all in a GUI trigger...