From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
Description
- Description:
 
- Compile scripts and save them into globally available functions. Defines _fnc_scriptName variable.
 
- Execution:
 
- call
 - Groups:
 
- Diagnostic
 
Syntax
- Syntax:
 
- [fileDirectory, prefix, nameVars, global] call BIS_fnc_loadFunctions
 - Parameters:
 
- fileDirectory: String - script path
 
- prefix: String - variable prefix 
 
- nameVars: Array of Strings or Array of Array - list of variables to be declared.
- Array of Strings to format [variable, variable, …] - final variable is prefix + variable, loaded from path + variable + ".sqf"
 
- Array of Array to format [[variable, fileName], [variable, fileName], …] - final variable is prefix + variable, loaded from path + fileName + ".sqf"
 
 
- global: Boolean - true for global persistent execution on all clients
 - Return Value:
 
- Boolean - true when done
 
Examples
- Example 1:
 - Example 2:
 
Additional Information
- See also:
 
- compile compileFinal preprocessFileLineNumbers
 
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