Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ValidateBehaviorTreesPlugin.c
Go to the documentation of this file.
1#ifdef WORKBENCH
3 name: "Validate Behavior Trees",
4 description: "Opens all behavior trees to verify them for errors",
5 wbModules: { "ResourceManager" })]
6class 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
GenerateFlowMaps WorkbenchPlugin WorkbenchPluginAttribute("Regenerate river flow-maps", "Generate and save/overwrite river flow-maps", "", "", {"WorldEditor"}, "", 0xf773)
Definition FlowmapTool.c:59
override void Run()
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14