Hi Hi
Amazing work with Apotheosis, even the name is wonderfully chosen!
I have been having a blast putting in more AI conditionals and stuff like that
However as I am just an amateur at programming I'm not sure how to acces the names / string names of certain fields in the User scripts.
For example I know I need string number 253, but idk how to get the localized name for this string.
I am trying to see if I can add all spell buffs as a CustomAIConditionalScriptSet.
This so I can realize my grand master plan AI first for my own party, then for mobs :D
I know how to do it manually but doing it in an automated way sounds cool to try
But first things first, making the spell CustomAIConditionalCategory for each class.
However I am lost with the stringindextable and stuff like that, I can't solve an easy thing like the following:
Where I just want to make an extra category for each existing class
SetGameDataPath("ai.gamedatabundle");
foreach (var POEClass in Components<CharacterClassComponent>())
{
CustomAIConditionalCategoryComponent test = new CustomAIConditionalCategoryComponent
{
CategoryName = POEClass.DisplayName
};
}
Sincerely
lalolalo9