Galaxy cannot "include" Galaxy script files that are from another user-defined dependency. For example, if I have Mod A with HelloWorld.galaxy which defines libhello_sayhi(), and create a blank map with a dependency on Mod A, then use a custom script block to "include HelloWorld.galaxy" and call libhello_sayhi(), it will fail with an error.
Conversely, including HelloWorld.galaxy in the map itself, will work fine.
Galaxy Editor when testing does not generate any syntax errors, because it finds the files in the dependency. Starcraft 2, however, does not.
Galaxy cannot "include" Galaxy script files that are from another user-defined dependency. For example, if I have Mod A with HelloWorld.galaxy which defines libhello_sayhi(), and create a blank map with a dependency on Mod A, then use a custom script block to "include HelloWorld.galaxy" and call libhello_sayhi(), it will fail with an error.
Conversely, including HelloWorld.galaxy in the map itself, will work fine.
Galaxy Editor when testing does not generate any syntax errors, because it finds the files in the dependency. Starcraft 2, however, does not.
Cross-posted: http://us.battle.net/sc2/en/forum/topic/801611291