BIS fnc recompile: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Diagnostic | |gr1 = Diagnostic | ||
| Can be used to recompile functions. | | Can be used to recompile functions. | ||
| [mode] call [[BIS_fnc_recompile]] | | [mode] call [[BIS_fnc_recompile]] | ||
|p1= mode (Optional, default 0): | |p1= mode (Optional, default 0): | ||
Line 19: | Line 19: | ||
** 3 - Create missionNamespace variables and initialize mission | ** 3 - Create missionNamespace variables and initialize mission | ||
** 4 - Create only missionNamespace variables | ** 4 - Create only missionNamespace variables | ||
** 5 - Recompile all functions, and initialize mission (used for editor preview with function recompile) | ** 5 - Recompile all functions, and initialize mission (used for editor preview with function recompile) | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[] [[call]] [[BIS_fnc_recompile]];</code> | |x1= <code>[] [[call]] [[BIS_fnc_recompile]];</code> | ||
|x2= <code>[3] [[call]] [[BIS_fnc_recompile]];</code> | |x2= <code>[3] [[call]] [[BIS_fnc_recompile]];</code> | ||
|x3= <code>["BIS_fnc_spawnVehicle"] [[call]] [[BIS_fnc_recompile]];</code> | |x3= <code>["BIS_fnc_spawnVehicle"] [[call]] [[BIS_fnc_recompile]];</code> | ||
| [[compile]], [[compileFinal]] | | [[compile]], [[compileFinal]] | ||
}} | }} | ||
Revision as of 23:39, 17 January 2021
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:
[] call BIS_fnc_recompile;
- Example 2:
[3] call BIS_fnc_recompile;
- Example 3:
["BIS_fnc_spawnVehicle"] call BIS_fnc_recompile;
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