BIS fnc recompile: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Debug(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1 = Diagnostic |GROUP1=
|gr1 = Diagnostic |GROUP1=
____________________________________________________________________________________________


| Can be used to recompile functions. |DESCRIPTION=
| Can be used to recompile functions. |DESCRIPTION=
____________________________________________________________________________________________


| [mode] call [[BIS_fnc_recompile]] |SYNTAX=
| [mode] call [[BIS_fnc_recompile]] |SYNTAX=
Line 24: Line 21:
** 5 - Recompile all functions, and initialize mission (used for editor preview with function recompile) |PARAMETER1=
** 5 - Recompile all functions, and initialize mission (used for editor preview with function recompile) |PARAMETER1=


____________________________________________________________________________________________


| [[Boolean]] |RETURNVALUE=
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[] [[call]] [[BIS_fnc_recompile]];</code> |EXAMPLE1=
|x1= <code>[] [[call]] [[BIS_fnc_recompile]];</code> |EXAMPLE1=
Line 34: Line 29:


|x3= <code>["BIS_fnc_spawnVehicle"] [[call]] [[BIS_fnc_recompile]];</code> |EXAMPLE3=
|x3= <code>["BIS_fnc_spawnVehicle"] [[call]] [[BIS_fnc_recompile]];</code> |EXAMPLE3=
____________________________________________________________________________________________


| [[compile]], [[compileFinal]] |SEEALSO=
| [[compile]], [[compileFinal]] |SEEALSO=

Revision as of 00:44, 17 January 2021

Hover & click on the images for description

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


Notes

Bottom Section