mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
function to log ace config entries
This commit is contained in:
parent
2fd2e313f2
commit
d8e0c54406
@ -197,6 +197,7 @@ PREP(getDisplayConfigName);
|
||||
PREP(log);
|
||||
PREP(logControls);
|
||||
PREP(logDisplays);
|
||||
PREP(logModEntries);
|
||||
PREP(monitor);
|
||||
PREP(showUser);
|
||||
|
||||
|
17
addons/common/functions/fnc_logModEntries.sqf
Normal file
17
addons/common/functions/fnc_logModEntries.sqf
Normal file
@ -0,0 +1,17 @@
|
||||
// by commy2
|
||||
|
||||
private ["_configs", "_entries"];
|
||||
|
||||
_configs = "true" configClasses (configFile >> _this);
|
||||
|
||||
_entries = [];
|
||||
|
||||
{
|
||||
{
|
||||
_name = toLower configName _x;
|
||||
if !(_name in _entries) then {
|
||||
diag_log text _name;
|
||||
_entries pushBack _name;
|
||||
};
|
||||
} forEach configProperties [_x, "toLower configName _x find 'ace' == 0", false];
|
||||
} forEach _configs;
|
Loading…
Reference in New Issue
Block a user