compileScript: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (removed stub) |
||
Line 5: | Line 5: | ||
|version1= 2.02 | |version1= 2.02 | ||
|descr= This command is an alias for <tt>[[compile]](Final) (prefixHeader + [[preprocessFileLineNumbers]] path)</tt>. See description of [[preprocessFileLineNumbers]] for more details. | |descr= This command is an alias for <tt>[[compile]](Final) (prefixHeader + [[preprocessFileLineNumbers]] path)</tt>. See description of [[preprocessFileLineNumbers]] for more details. | ||
|pr= | |pr= |
Revision as of 23:37, 15 April 2021
Description
- Description:
- This command is an alias for compile(Final) (prefixHeader + preprocessFileLineNumbers path). See description of preprocessFileLineNumbers for more details.
- Groups:
- System
Syntax
- Syntax:
- compileScript [path, final, prefixHeader]
- Parameters:
- path: String - Path to script file
- final: Boolean - (Optional, default false) Compile final, see compileFinal
- prefixHeader: String - (Optional, default "") Value added at the beginning of the file
- Return Value:
- Code
Examples
- Example 1:
compileScript ["a3\props_f_enoch\military\equipment\scripts\meteo.sqf"]; // has the same functionality as compile preprocessFileLineNumbers "a3\props_f_enoch\military\equipment\scripts\meteo.sqf";
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note