Hi, I am relatively new to of Lua but I've been teaching myself based on what I am finding in the game's and modder's lua files, but my main problem is I have no idea how to go about finding the lua functions or events that I need to use or reference in my mod. Ideally what I am looking for are the lua files associated with deciding what unit is allowed to go where (as in the file/function that is used for determining the ultrasonic fence's repel).
I also kind of have a basic idea of the sort of logic the script will need to follow based on what I've been seeing in the game files.
I also kind of have a basic idea of the sort of logic the script will need to follow based on what I've been seeing in the game files.