AI Debug Panel Tutorial – Arma Reforger
Jump to navigation
Jump to search
The AI Debug Panel is an important tool for AI debug, allowing to see in real time an AI's condition.
Usage
Use the scrDefine startup parameter:
-scrDefine AI_DEBUG
Select a Character or a Group with Game Master. Open the Diag Menu, select AI → AI Script → Open Debug Panel. It will create a debug panel for this AI Agent.
Debug Panel
A debug panel is assigned to only one AI Group/Character and shows data about it.
Available Data
Data | Available for | |
---|---|---|
Groups | Characters | |
Call sign | ||
Current action | ||
List of available actions and their priority | ||
Threat level | ||
Unit roles | ||
Unit states |
Available Buttons
Dump Debug Msgs
Dumps all events of this AI. You can also select a time interval.
Breakpoint
Script Editor will hit a breakpoint on this AI's next update.
Locate
Character only
Press to locate the selected AI in the world.
Add Debug Panel Information
To add more information to the debug panel, mod the SCR_AIAgentDebugPanel class.
Please note that the same class is used for both Groups and Characters!