BIS fnc loadFunctions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 8: | Line 8: | ||
|descr= Compile scripts and save them into globally available functions. Defines [[_fnc_scriptName]] variable. | |descr= Compile scripts and save them into globally available functions. Defines [[_fnc_scriptName]] variable. | ||
|s1=[fileDirectory, prefix, nameVars, global] call [[BIS_fnc_loadFunctions]] | |s1= [fileDirectory, prefix, nameVars, global] call [[BIS_fnc_loadFunctions]] | ||
|p1= fileDirectory: [[String]] - script path | |p1= fileDirectory: [[String]] - script path |
Revision as of 23:11, 12 July 2022
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.
- 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