Hey there gang, I'm hoping there's a simple way to do this.🙂 I have messed around with a bunch of methods so far with no luck, kinda hoping it can be done without a plug in. I'm wondering if there's a script call that can adjust, specifically, the remove condition for a state.
What I am trying to do is have a variable I can adjust that when it goes up, the "Remove by walking" amount for Knockout goes down, by set amounts. Thanks for having a look and I hope someone can help out with this one. Take it easy all.
You can't influence the remove by walking steps. But what you can do is create a common event with two variables, one is the one that you want to go up, second one is a variable of necessary steps. Then decrease the variable of steps after every step and when it reaches zero, Remove state. Note that every character needs his own steps variable.
Yeah the every character needs his own was why I was hoping there was a script call for that my game has hundreds of possible recruitables so that will be a pain. Thanks for the info, I was afraid of that.🙂
You can do with party members instead if you want to preserve variables. However, be aware that you'd have to cover off certain bugs that could arise from party formation change.
This wouldn't be hard, you'd just need several variables designated to get the actor ID of the one who died... If you manage to work it out so long that the character that's taking this slot now doesn't die before the second one gets revived or the storage takes up diferent variables 🙂
Or you could create a set of commands to transfer values between party member variables. But then you have to make sure that the dead party members don't get switched off from the party until they revive 🙂
Thanks for the options, I hate to say it but none of those options really work with the way my game is set up unfortunately🙁. I've been poking around in the rpg.objects.js and think I found where the info is to adjust with a script. The only problem there is I am no good with code. I've been messing around with it though I may get that method to work if I'm lucky🙂