Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_ValidateBehaviorTreesPlugin.c
Go to the documentation of this file.
1
#ifdef WORKBENCH
2
[
WorkbenchPluginAttribute
(
3
name:
"Validate Behavior Trees"
,
4
description:
"Opens all behavior trees to verify them for errors"
,
5
wbModules: {
"ResourceManager"
})]
6
class
SCR_ValidateBehaviorTreesPlugin : WorkbenchPlugin
7
{
8
//------------------------------------------------------------------------------------------------
9
override
void
Run
()
10
{
11
Print
(
"ValidateBehaviorTreesPlugin: Start"
,
LogLevel
.NORMAL);
12
13
array<string> files = {};
14
FileIO
.FindFiles(files.Insert,
"AI/"
,
".bt"
);
15
16
foreach
(
string
file : files)
17
{
18
Print
(
string
.Format(
"Opening: %1"
, file),
LogLevel
.NORMAL);
19
Workbench.OpenResource(file);
20
}
21
22
Print
(
"ValidateBehaviorTreesPlugin: End"
,
LogLevel
.NORMAL);
23
}
24
}
25
#endif
// WORKBENCH
WorkbenchPluginAttribute
GenerateFlowMaps WorkbenchPlugin WorkbenchPluginAttribute("Regenerate river flow-maps", "Generate and save/overwrite river flow-maps", "", "", {"WorldEditor"}, "", 0xf773)
Definition
FlowmapTool.c:59
Run
override void Run()
Definition
SCR_ImageSetGenerator.c:297
FileIO
Definition
FileIO.c:13
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
scripts
WorkbenchGame
ResourceManager
SCR_ValidateBehaviorTreesPlugin.c
Generated by
1.17.0