File size: 1,358 Bytes
b6a38d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========
PlaceObj('XTemplate', {
group = "GedApps",
id = "DumbAIDebug",
save_in = "Ged",
PlaceObj('XTemplateWindow', {
'__class', "GedApp",
'Title', "DumbAI Debugger",
'MenubarTemplate', "",
}, {
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "root" end,
'__class', "GedTextPanel",
'Id', "idAIState",
'Title', "Current State",
'FormatFunc', "GedDumbAIDebugState",
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "root" end,
'__class', "GedListPanel",
'Id', "idAILog",
'Title', "Actions log",
'FormatFunc', "GedDumbAIDebugLog",
'SelectionBind', "log_entry",
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "log_entry" end,
'__class', "GedTextPanel",
'Id', "idAIState",
'Title', "Current State",
'FormatFunc', "GedDumbAIDebugLogEntry",
}),
PlaceObj('XTemplateAction', {
'ActionId', "AIThink",
'ActionName', T(642175611267, --[[XTemplate DumbAIDebug ActionName]] "AI Think"),
'ActionIcon', "CommonAssets/UI/Ged/preview.tga",
'ActionMenubar', "main",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Send("GedCallMethod", "root", "AIThink")
end,
}),
}),
})
|