Difference between revisions of "Template:INI:Papyrus:sAdditionalImports"
Jump to navigation
Jump to search
imported>Qazaaq m (Scrivener07 moved page Template:Editor:INI:General:sAdditionalImports to Template:Editor:INI:Papyrus:sAdditionalImports: wrong section, dang it!) |
imported>Qazaaq (added links to wiki pages) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
The folders are separated by semicolons, and will be used in left-to-right order. | The folders are separated by semicolons, and will be used in left-to-right order. | ||
Any listed import folders on the left will override import folders on the right. | Any listed import folders on the left will override import folders on the right. | ||
The order of imports may be verified by looking at the import list within the script tab of the [[Preference Window]]. | |||
Like the source folder, paths may be absolute or relative to the editor's installation directory. | |||
A special variable called <Code>$(source)</Code> may be | A special variable called <Code>$(source)</Code> may be specified to indicate where the value of <Code>[[:Category:CreationKit.ini#sScriptSourceFolder|sScriptSourceFolder]]</Code> should be used. | ||
'''Examples''' | '''Examples''' | ||
<source lang="ini"> | <source lang="ini"> | ||
; Include a "base" folder containing all original game scripts, let | ; Include a "base" folder containing all original game scripts, let DLC01 override it, and then finally override both with the source folder: | ||
sAdditionalImports="$(Source);Data | sAdditionalImports="$(Source);Data\Scripts\Source\DLC01;Data\Scripts\Source\Base" | ||
</Source> | </Source> | ||
<BR> | <BR> | ||
<source lang="ini"> | <source lang="ini"> | ||
; Include all DLC imports. | ; Include all DLC imports. | ||
sAdditionalImports="$(Source); | sAdditionalImports="$(Source);Data\Scripts\Source\DLC06;Data\Scripts\Source\DLC05;Data\Scripts\Source\DLC04;Data\Scripts\Source\DLC03;Data\Scripts\Source\DLC02;Data\Scripts\Source\DLC01;Data\Scripts\Source\Base" | ||
</Source> | </Source> | ||
</onlyinclude> | </onlyinclude> | ||
[[Category: | [[Category:CreationKit.ini]] | ||
[[Category:Papyrus Configurations]] |
Latest revision as of 18:49, 7 March 2020
sAdditionalImports[edit source]
- Default:
"$(source);.\Data\Scripts\Source\Base"
This setting is a list of additional folders that the editor and compiler should use. The folders are separated by semicolons, and will be used in left-to-right order. Any listed import folders on the left will override import folders on the right. The order of imports may be verified by looking at the import list within the script tab of the Preference Window. Like the source folder, paths may be absolute or relative to the editor's installation directory.
A special variable called $(source)
may be specified to indicate where the value of sScriptSourceFolder
should be used.
Examples
; Include a "base" folder containing all original game scripts, let DLC01 override it, and then finally override both with the source folder:
sAdditionalImports="$(Source);Data\Scripts\Source\DLC01;Data\Scripts\Source\Base"
; Include all DLC imports.
sAdditionalImports="$(Source);Data\Scripts\Source\DLC06;Data\Scripts\Source\DLC05;Data\Scripts\Source\DLC04;Data\Scripts\Source\DLC03;Data\Scripts\Source\DLC02;Data\Scripts\Source\DLC01;Data\Scripts\Source\Base"