Functions Viewer – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[ *(https?\:\/\/[^\[ ]*steamcommunity\.com[^\[ ]+) ([^ ]+) *\]" to "{{ExternalLink|link= $1|text= $2}}")
m (Text replacement - "\[\[Functions[ _]Library[ _]\(Arma[ _]3\)" to "[[Arma 3: Functions Library")
Line 18: Line 18:
== TAG Combobox ==
== TAG Combobox ==
Select the TAG the function uses. The TAG usually indicates for which project, mod or addon a function was created for.
Select the TAG the function uses. The TAG usually indicates for which project, mod or addon a function was created for.
To learn more visit [[Functions Library (Arma 3)#Adding a Function|Functions Library]].
To learn more visit [[Arma 3: Functions Library#Adding a Function|Functions Library]].


== Category Combobox ==
== Category Combobox ==
Select the category of the function. Categories can for example be: Actions, Math or Modules.
Select the category of the function. Categories can for example be: Actions, Math or Modules.
To learn more visit [[Functions_Library_(Arma_3)#Adding_a_Function|Functions Library]].
To learn more visit [[Arma 3: Functions Library#Adding_a_Function|Functions Library]].


== Functions List ==
== Functions List ==
Line 39: Line 39:
== Recompile All Button ==
== Recompile All Button ==
Pressing that button will recompile all functions. However, this button is only activated if '''allowFunctionsRecompile''' is set to one in the '''description.ext'''.
Pressing that button will recompile all functions. However, this button is only activated if '''allowFunctionsRecompile''' is set to one in the '''description.ext'''.
Visit [[Description.ext]]/[[Functions Library (Arma 3)#Recompiling|Functions Library: Recompiling]] for more information.
Visit [[Description.ext]]/[[Arma 3: Functions Library#Recompiling|Functions Library: Recompiling]] for more information.


== Recompile Selected Button ==
== Recompile Selected Button ==

Revision as of 17:33, 4 August 2021

The Functions Viewer allows you to view all functions, modded or default that are defined in CfgFunctions.

The Functions Viewer UI in Arma 3.

Access

The Functions Viewer can be opened via

Interface

Config Source Combobox

Choose which config file should be used, can be:

TAG Combobox

Select the TAG the function uses. The TAG usually indicates for which project, mod or addon a function was created for. To learn more visit Functions Library.

Category Combobox

Select the category of the function. Categories can for example be: Actions, Math or Modules. To learn more visit Functions Library.

Functions List

The functions list contains all functions of given TAG and category and is sorted alphabetically.

Name Text Field

Shows the name of the function. It can be selected and copied.

Path Text Field

Shows the path to the original function file.

Code Text Field

This area will show the code of the function and can be scrolled left and right or up and down. Most functions have a function header at the top of the code that shows useful information about the function, its parameters and return values.

Recompile All Button

Pressing that button will recompile all functions. However, this button is only activated if allowFunctionsRecompile is set to one in the description.ext. Visit Description.ext/Functions Library: Recompiling for more information.

Recompile Selected Button

Pressing this button will recompile the selected function.

Close Button

Closes the Functions Viewer.

Shortcuts

The config viewer supports a very basic search functionality. If you focus either the classes list or the attributes list and start typing it will search for a match in the given list.

Key Effect
Esc Closes the Functions Viewer

Functions List

Key Effect
A...Z Quickly browse through the functions
Ctrl + C Copy function name of selected function to the clipboard

Code Field

Key Effect
Ctrl + A Selects all code
Ctrl + C Copy selected code to clipboard

Alternative Tools

Listed here are some mods which improve the Functions Viewer. If you created one you can add it to the list too.