I'm trying to maintain my triggers, aliases, etc, in a collection of XML files. I have them broken up into their various groups, so several files, to keep from getting super-huge files that I can't easily examine and update.
Since I'm still in the early stages of writing things and making several changes to the triggers and scripts, I am wondering if it's possible to have some sort of "master XML file" that imports all of my other XML files. What I want is basically to wipe out nearly all of my settings (but not quite everything, as it's just the triggers for curing and defense stuff) and then an easy way to programmatically re-import everything instead of having to go to the menu and the dialog and select the dozen or more XML files one-by-one to be imported.
I had hoped that there would be a script function to accept a filename to import settings, but all I found was ImportXML that takes the actual XML string and no filename option. I'd like to have a script function for re-installing my combat system all at the touch of a button (so to speak).
Any help on this? Is it even possible?
Since I'm still in the early stages of writing things and making several changes to the triggers and scripts, I am wondering if it's possible to have some sort of "master XML file" that imports all of my other XML files. What I want is basically to wipe out nearly all of my settings (but not quite everything, as it's just the triggers for curing and defense stuff) and then an easy way to programmatically re-import everything instead of having to go to the menu and the dialog and select the dozen or more XML files one-by-one to be imported.
I had hoped that there would be a script function to accept a filename to import settings, but all I found was ImportXML that takes the actual XML string and no filename option. I'd like to have a script function for re-installing my combat system all at the touch of a button (so to speak).
Any help on this? Is it even possible?