9 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Enable debug visualization")]
10 protected bool m_EnableVisualization;
12 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow movement")]
15 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow reacting on danger events")]
18 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow reacting on perceived targets")]
21 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow shooting and attacking in general")]
24 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow finding and taking cover")]
27 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow aiming and gestures in general")]
30 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow sending messages")]
33 [
Attribute(defvalue:
"1", uiwidget: UIWidgets.CheckBox,
desc:
"Allow artificial aiming error for AI")]
36 [
Attribute(defvalue:
"0", uiwidget: UIWidgets.CheckBox,
desc:
"Allow leader to stop when formation is deformed")]
39 [
Attribute(defvalue:
"", uiwidget: UIWidgets.EditBox,
desc:
"Title for world description")]
42 [
Attribute(defvalue:
"", uiwidget: UIWidgets.EditBox,
desc:
"World description")]
49 protected static SCR_AISettingsComponent m_sInstance;
62 if (!m_EnableVisualization)
68 WorkspaceWidget workspace =
GetGame().GetWorkspace();
69 m_wOverlay = workspace.CreateWidgets(
"{7C4EE3995E17845B}UI/layouts/Debug/AIInfoDebug.layout");
81 if (!m_EnableVisualization)
90 super.OnPostInit(owner);
93 if (m_EnableVisualization)