Hi Everyone! :)
I am in the following situation:
At some point in my game you can select the party members, effectively removing the non selcted ones from the game.
I want there to be training in the game, additionaly to standart level up stat progression.
So you can train a character in his Attack Skill, for instance.
Now, the party moves up to the npc trainer.
i give the player the choice of which character he wants to train,
using Control Variable = Member [n] Actors ID
then using that variable to add the points to the selected actor. This all works really fine.
The problem I am facing, is that I have no clue how to safe a variable, or switch to see which actor allready has trained. Since every Variable I make would be tied to the actor ID and not party member specific.
Which is quite important, as otherwise its endless training ^^
I hope, I made myself somehwhat clear, otherwise please tell me, and I try to reword it.
PS Is this even possible using no scripts?
Actor Training System using no Scripts?
● ARCHIVED · READ-ONLY
-
-
I'm a little confused what you're trying to do.
I'm assuming it gives you a list of "Member 1", "Member 2", etc. and upon selecting it it then checks who is Member X then gives that person a stat boost?
I would add one switch (or variable if you want to allow multiple increases) for each character, then run a conditional to check if the switch is ON. If it's OFF then it grants them the stat boost then turns the switch ON, otherwise it gives an error saying they already trained.
If you decide to use a variable instead of a switch you can customize things a step further, such as capping the number of times someone can train based on story progression and increase the cost of each additional training. -
Thanks, Espon!
I try to reexplain my problem:
Righjt now I have the event setup like this:
Text "do you want to train?"
choice: yes
no
if yes:
text: "who wants to train?"
choice \P[1]
\P[2]
\P[3]
\P[4]
(Since I dont know any other way to give the player a choice of which party member to train)
if \P[1]:
Control Variables: active char = Member 1 Actor's ID
Change Parameters: Variable active char, ATK +1
Now I think this framework works fine, problem is that I dont know how to add a Switch or Variable
that targets that specific Actor, I assume its either pretty obvious and I am just oblivious to it ^^;
or that I have made a mistake earlier in the script.
PS
For instance, I know that I can add a variable for each Actor, checking how often they have trained, this is actually what I want to do. But how do I make the game affect exactly that variable when I dont know which I need
to use? -
Made up something quickly...
You can replace the switches with variables and compare.SpoilerNPC Event
Common Event

You don't have to use the common event, I just did it to make it look more clean and cut down on the overall length (it can get pretty long with many characters). -
Wow... it works like a charm :D
Thank you, thank you so much ^^
I humbly bow in gratitude ans respect :) -
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.