Sign in to follow this  
Nirran

TSL make ai use grenades/consumable items

Recommended Posts

Share this post


Link to post
Share on other sites

Interesting thought, I hope you can get some solutions to this issue, would definitely be good for companions to use consumable items, but they might need some logic for when and why they might use them, so this would require some custom functions. When I get a bit further into scripting for KotOR I may give this ago, definitely for the consumables.

Such as If ( companion health <= to 25% ) = use consumable "medpac1" or if droid "repairkit1"

Or varying percentages to allow them to use different consumables, you may also have to make allowances for when you do not have the consumable items, as for getting them to use grenades, I am not sure about this, I am sure it could be done, but not entirely sure the logic you would want to use behind getting them to throw them, most likely the reason for them not already doing this is your companions might end up using all of your consumables without you realising.

Thor110

Share this post


Link to post
Share on other sites

The Mandalorians on the Unknown World throw all the grenades at you that they have in their inventory, it's a long list of complicated scripts to go through though haha. 

But it's the only instance where the developers force the NPCs to really go all out with the grenades that I can think of. 

  • Like 1

Share this post


Link to post
Share on other sites

I'm a bit out of my depth here, but what if you link the parameters of when they use certain consumables to their combat stance IE Agressive, Jedi, Ranged, Grenade, etc..

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this