Untargetable State

This script allows you to create a state that prevents you from targeting


an enemy. When the state is applied, the enemy cannot be targeted or affected by any skills or items.





(animation not included)


Download


Get it at Hime Works!


Installation


Place this script below Materials and above Main


Usage


In the configuration below, enter the ID's of the states that will prevent


an enemy from being targeted
OMG!!! I've been looking for something like this for the past few months!

But is it possible, say to have the enemy (that can't be targeted) allowed to be targeted when another enemy is defeated?
Just remove the state somehow. That is mainly the reason why I used a state.
Can this also be applied to a member of your own party, so the enemy cannot target them with attacks or skills?
I've added support for actors.
I Love it,thanks you very much Tsukihime! 🙂

It will help me to create spells like "petrify"

Now,the only thing that is missing in my project is a script that remove a state when other is aplied...

Good weekend and excuse me for my bad English.

Seacliff: I dont know if this is going to help you... But i think you can use battle conditions for remove the state when another enemy dies,for example: Slime hp 0% or bellow.
This is awesome. I've been using $game_party.members[x].hide to implement a Stealth/Vanish type state where the actor becomes untargetable. This looks like it'll save me a ton of hassle.
Can a friendly character, enemy->enemy or ally->ally, still target someone with the state? (hexproof) Or can NO ONE target them (shroud)?
Yes, no one can target them. This is purely based on whether someone has a state or not, and does not consider any actions.

Original thread: https://forums.rpgmakerweb.com/threads/untargetable-state.13326/