This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
After I import a .galaxy file, what path do I use to include it?
Thanks in advance :)
The directory and filename of the imported file?
Ex: I import "Blah.galaxy" into "Scripts".
Then
include "Scripts/Blah.galaxy"
all includes are assumed to be from / rather than any relative directory.
@MotiveMe: Go
Hmmmm, I think I was doing something terribly wrong. Before when I imported a file to the root directory and used "include "blah.galaxy"" it didn't work. Perhaps I didn't import it properly. All is working properly now, thanks =)
@ShooperMAN: Go
Do not include the ".galaxy"
include "TriggerLibs/MeleeAI" include "TriggerLibs/DebugAgent" include "TriggerLibs/DataAgent" include "TriggerLibs/Shorts" include "TriggerLibs/Skills" include "TriggerLibs/MapAgent" include "TriggerLibs/Builds" include "TriggerLibs/ProductionAgent" include "TriggerLibs/MacroAgent" include "TriggerLibs/ScoutAgent" include "TriggerLibs/TacticalAgent" include "TriggerLibs/StrategyAgent" include "TriggerLibs/GlobalInit" include "TriggerLibs/PlayerInit" include "TriggerLibs/PlayerTick" include "TriggerLibs/DebugTriggers"
@MTops: Go
The .galaxy part is optional. It works either way. I prefer to be specific out of habit.
After I import a .galaxy file, what path do I use to include it?
Thanks in advance :)
The directory and filename of the imported file?
Ex: I import "Blah.galaxy" into "Scripts".
Then
include "Scripts/Blah.galaxy"
all includes are assumed to be from / rather than any relative directory.
@MotiveMe: Go
Hmmmm, I think I was doing something terribly wrong. Before when I imported a file to the root directory and used "include "blah.galaxy"" it didn't work. Perhaps I didn't import it properly. All is working properly now, thanks =)
@ShooperMAN: Go
Do not include the ".galaxy"
@MTops: Go
The .galaxy part is optional. It works either way. I prefer to be specific out of habit.