Non-targettable party member

Hi developers and scripters,


I am using VE - Automatic Battlers for my project and as it is brilliant for my game it brought to my attention a serious issue.


To explain the situation briefly the Automatic Battlers script does exactly the opposite - makes the battlers not automatic. It gives you the chance to give the battlers a custom AI so that they can operate with certain pattern. For example you can set instructions like these:


If enemy with HP less than 20% exists, then attack the enemy with the lowest HP


Else attack random enemy


Of course this is a very simple example. You can set very specific instructions, set priorities etc.


However, this brings a problem with one of the skills I planned to give a certain hero. I wanted to make an "Egress" skill which gives the archer (in my case, but it can be invisibility for a mage) the ability to be missing for the enemies. I mean that they would not attack the archer because he/she is behind his/her comrade or somewhere away. This of course would not give the archer the ability to attack to. I planned to make a state which makes the TGR equals the lowest possible value and mark the hero with "Cannot move tag" which would be perfect because that way the hero would not be able to use his/her own skills too. But it would have been something.


Now using the VE - Automatic Battlers I am not able to do that or at least I think so because the enemies are not dependant on TGR to choose their target. Or maybe they are when a "random" target is used but if you want to set a set of instructions which consists fo actions targetting "highest atk" or "lowest hp" for example the user of this "Hide"/"Egress"/"Invisibility" skill could still be targetted due to his/her stats.


That is what I need. I need a script that is compatible with the "Automatic Battlers" script which makes a certain hero "invisible" for the enemies and that way they cannot target him/her. If you want to make something more advanced you can make a script which for example makes the hero "invisible" even for his/her comrades and that way they cannot heal/buff him for example, neither they will be able to attack him if they are under some confusion status. Also, it is possible for this script to have a tag which makes someone not prone to invisibility. To explain that, this tag will give the one who is marked with it the ability to "see" those who are marked with "invisibility".


Thanks in advance. I will be really glad if you are able and willing to help me!
If it is about the enemy selecting a target only, simply reduce the target rate of the actor to 0% and that actor will not be targeted.


If it is about more functions, Tsukihime wrote a script to prevent targeting of any battler (actor or enemy) with a certain state.
I tried that but still my hero has been targetted for 1 random attack during the battle and also is still a target for any action targetting "highest atk", "lowest hp" etc. created via this script's strategy section.


If this script Tsukihime created is compatible with the Automatic Battlers one I would love to check it out. Would you please be able to give me its full name so I can search for it in the Master list or just handle me a direct link?
sorry, no time to give a better link than http://himeworks.com/

Original thread: https://forums.rpgmakerweb.com/threads/non-targettable-party-member.68294/