I'm sorry, I'm not sure if I should post this in script requests, because I'm not asking for a brand new script, I just want to modify existing one for my needs and I can't quite do it due to my extremely poor knowledge, but I imagine for someone else it wouldn't take much effort.
But it's also not broken, so is that script support?... eh
So I have this script here, that replaces TP with a new bar that determines targeting. Works perfectly fine atm.
https://forums.rpgmakerweb.com/index.php?threads/euphoria-threat-system.31138/
Which is great, but I also want to -- at some point in the game -- play as just one actor, so targeting gauge becomes obsolete. And that actor would love to then use TP, since that replacement bar is no longer in use.
So I want to be able to turn a switch on and prevent entire script from running (or the part where it takes over TP)
Not in the middle of a battle, ofcourse.
So, one fight - 2+ actors, each having a Threat bar. Other - 1 actor, has no Threat and uses TP as normal.
I tried putting $game_switches[number] = true or something like that, and it gave me a method error, from which I assume you can't just load a switch from anywhere, or something like that
Script is quite complex so I can't just dart around and find exact point where switch can determine... things
Someone help?
----
if that's important I'm also using Yanfly Battle Engine which it is compatible with
But it's also not broken, so is that script support?... eh
So I have this script here, that replaces TP with a new bar that determines targeting. Works perfectly fine atm.
https://forums.rpgmakerweb.com/index.php?threads/euphoria-threat-system.31138/
Which is great, but I also want to -- at some point in the game -- play as just one actor, so targeting gauge becomes obsolete. And that actor would love to then use TP, since that replacement bar is no longer in use.
So I want to be able to turn a switch on and prevent entire script from running (or the part where it takes over TP)
Not in the middle of a battle, ofcourse.
So, one fight - 2+ actors, each having a Threat bar. Other - 1 actor, has no Threat and uses TP as normal.
I tried putting $game_switches[number] = true or something like that, and it gave me a method error, from which I assume you can't just load a switch from anywhere, or something like that
Script is quite complex so I can't just dart around and find exact point where switch can determine... things
Someone help?
----
if that's important I'm also using Yanfly Battle Engine which it is compatible with