Hello again!
I hope it's a small question for you.
I wanna use Galvs Puzzle Functions Plugin and its great, but I think I would need one more ScriptCall to use it as I want.
I want to make a little quiz to the beginning of my game, like in pokemon mystery dungeon I want it, that the Player can become a monster depending on how the player answers the questions of the quiz.
Because I would like to make a lot of questions and I would have possible 40-80 monsters to become, its hard just to use the scriptcall of the Script that ask: "Are all of these Switches on?" - then you get Monster A etc
I would like to have a scriptcall or something like this that would be like:
Which monster has the most switches on? and then randomize between monsters with the most switches.
Iam bad at explaining... maybe an example:
Player makes the test, Switch 1, 4, 6, 9, 12 are on after that
Monster 1 Needs Switches: 1, 4, 5, 8, 12 (= 3 matching switches)
Monster 2 Needs Switches: 2, 4, 6, 9, 11 (= 3 matching switches)
Monster 3 Needs Switches: 3, 7, 8, 9, 11 (= 1 matching Switch)
--> now I would need a Scriptcall that checks: Monster 1 and Monster 2 both have at least 3 matching Switches, these are the most matching switches of all possible monsters
--> Radomize between Monster 1 or Monster 2 (or more, if there are more monsters with the most matching switches)
--> depending on wich monster is randomized (maybe number of monster 1-80 saved in a variable) i can use a conditional branch to go on (change player to the monster)
Glavs Script is super great, but it needs that ALL needed Switches are on, and not "at least 2/3 Switches are on"
Its not as short as I hoped, but maybe the solution is more short?
thank you, if you have read till now!
I hope it's a small question for you.
I wanna use Galvs Puzzle Functions Plugin and its great, but I think I would need one more ScriptCall to use it as I want.
I want to make a little quiz to the beginning of my game, like in pokemon mystery dungeon I want it, that the Player can become a monster depending on how the player answers the questions of the quiz.
Because I would like to make a lot of questions and I would have possible 40-80 monsters to become, its hard just to use the scriptcall of the Script that ask: "Are all of these Switches on?" - then you get Monster A etc
I would like to have a scriptcall or something like this that would be like:
Which monster has the most switches on? and then randomize between monsters with the most switches.
Iam bad at explaining... maybe an example:
Player makes the test, Switch 1, 4, 6, 9, 12 are on after that
Monster 1 Needs Switches: 1, 4, 5, 8, 12 (= 3 matching switches)
Monster 2 Needs Switches: 2, 4, 6, 9, 11 (= 3 matching switches)
Monster 3 Needs Switches: 3, 7, 8, 9, 11 (= 1 matching Switch)
--> now I would need a Scriptcall that checks: Monster 1 and Monster 2 both have at least 3 matching Switches, these are the most matching switches of all possible monsters
--> Radomize between Monster 1 or Monster 2 (or more, if there are more monsters with the most matching switches)
--> depending on wich monster is randomized (maybe number of monster 1-80 saved in a variable) i can use a conditional branch to go on (change player to the monster)
Glavs Script is super great, but it needs that ALL needed Switches are on, and not "at least 2/3 Switches are on"
Its not as short as I hoped, but maybe the solution is more short?
thank you, if you have read till now!