BIS fnc recompile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
||
Line 39: | Line 39: | ||
|x2= <sqf>[3] call BIS_fnc_recompile;</sqf> | |x2= <sqf>[3] call BIS_fnc_recompile;</sqf> | ||
|x3= < | |x3= <sqf>["BIS_fnc_spawnVehicle"] call BIS_fnc_recompile;</sqf> | ||
|seealso= [[compile]], [[compileFinal]] | |seealso= [[compile]], [[compileFinal]] | ||
}} | }} |
Revision as of 19:02, 5 May 2022
Description
- Description:
- Can be used to recompile functions.
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- [mode] call BIS_fnc_recompile
- Parameters:
- mode (Optional, default 0):
- String - name of the function to be recompiled
- Number - can be:
- 0 - Autodetect what compile type should be used
- 1 - Forced recompile of all the things
- 2 - Create only uiNamespace variables (used in UI)
- 3 - Create missionNamespace variables and initialize mission
- 4 - Create only missionNamespace variables
- 5 - Recompile all functions, and initialize mission (used for editor preview with function recompile)
- Return Value:
- Boolean
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- compilecompileFinal
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