Jump to content

AI script help: buff spell without moving or attacking


Recommended Posts

Hello,

 

I'm trying to figure out the how the AI scripts work.

I want my team to use their spell buffs at the beginning of the combats, but not to move or attack untill I tell them to.

So far the only way was to set the AI to agressive: they throw their buff, but then move to attack the ennemies, so that I have to disable their AI...or manuallly cast the spells myself with passive or defensive AI...

 

Is it me or it's impossible to program that very simple behaviour ?

I installed a mod for more AI options, but it still does not seem doable...

 

Thanks for help

Edited by SenSx
Link to comment
Share on other sites

It is doable but the AI will target the character involved as a AoE center, with buffing spells, so it is not easy to get the party full buffed via AI script.

You have to choose as condition Have a ... inspiration (and select NO) >> then use the spell ...

Script like that until you choose the spell that give the inspiration (doale with the mod you installed), then script an attacking behaviour (and manually switch to manual instead of AI for example). 

I think you can have that you want like this, but i cant try it for you for the moment..

Link to comment
Share on other sites

Not sure I'm going to use the AoE buffing spells for the aiming reason you stating.

 

But I'm talking about using mirror image on my trickster rogue at the start of the combat, without having him moving or attacking.

He just won't do that unless I set his AI to agressive: he trow the spell, and then rush to the ennemy,  but I don't want him to move or attack, just to use the spell and stay still.

My issue is not the configuration of the skill script, but rather his behavior: you need the rogue to be set on passive or defensive and cast the spell yourself, or have him on agressive and set the behaviour on passive or defensive then ?

 

There is no way to have some kind of behavior that will allow the characters to be agressive without moving ?

Use spell and range attacks and just attacking any ennemy that comes in contact, but without moving at all ?

 

I mean Dragon Age Origins released years ago had much better AI script, and it was not a game with the depth of PoE2...

Link to comment
Share on other sites

I've tried a few times to get this to work without success. The closest I've come to is setting my characters to Defend Self, manually casting the first ability I want to use and then letting the script take over for the remaining spells.

I did come across a mod on Nexus that might do what you want, though not sure if it works for the current version of Deadfire.

https://www.nexusmods.com/pillarsofeternity2/mods/558?tab=description

Edited by Testlum
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...