I have a question about commands. Say for example I have 4 sets of commands:
add_command("Work", :work, true)add_command("Relax", :relax, true)add_command("Run", :running, true)add_command("Talk", :talking, true)the issue about this is that they exist in the command permanently, right? If I were to customize it and say:
add_command("Work", :work, condition_walk)def condition_walk$game_variables[1] = 5end not until variable 001 is equal to 5, Work option would not be available. However, I wanted to implement a command that bases on what you have.
For example, in my party, I have...
Eric, Natalie, Terence and Ryoma...
so what i want to appear in the command are:
Eric
Natalie
Terence
Ryoma
since the 4 party members exist, they'd be the only ones to show. But in case I removed Eric and changed him to Isabelle, then the command should say:
Isabelle
Natalie
Terence
Ryoma
aside from using if conditions, are there are ways?
Thanks!
add_command("Work", :work, true)add_command("Relax", :relax, true)add_command("Run", :running, true)add_command("Talk", :talking, true)the issue about this is that they exist in the command permanently, right? If I were to customize it and say:
add_command("Work", :work, condition_walk)def condition_walk$game_variables[1] = 5end not until variable 001 is equal to 5, Work option would not be available. However, I wanted to implement a command that bases on what you have.
For example, in my party, I have...
Eric, Natalie, Terence and Ryoma...
so what i want to appear in the command are:
Eric
Natalie
Terence
Ryoma
since the 4 party members exist, they'd be the only ones to show. But in case I removed Eric and changed him to Isabelle, then the command should say:
Isabelle
Natalie
Terence
Ryoma
aside from using if conditions, are there are ways?
Thanks!