Hi! So I'm playing around with variables and using them as a character likes you or not. For example, let's have a variable for John called "John♥" and another for "Mary Jane" called "Mary♥".
Each time player has a choice option the variable subtracts -1 or adds 1 if you answer friendly or not. Simple so far, right?
I then flip a self switch and create a new page using that self switch as a page condition, after the player answers the question on the first page to change the variables for John&Mary" and use another variable "Story progress" to hide all the other John&Mary's" on the map as the story progresses.
The new page has random conversation BUT it's different for each person on that one page. If you're mean in general you'll get mean responses back.
So, I've set up the self page with branches like this:
Variable set Random 1-3:
IF John♥" = is less than or equal to "0 " then
here are the mean messages with another branch using IF variable is equal to 1,2 or 3
ELSE
IF "John♥" = is greater than or equal to "5" then
here are the nice messages with another branch using IF variable is equal to 1,2 or 3
ELSE
IF "John♥" = is less than or equal to "4" then
here are the average messages messages with another branch using IF variable is equal to 1,2 or 3
While that's all great an all upon testing the game John doesn't even answer unless you are first under or equal to 0, it is only then he recognizes if his variable is equal to 5 or more, etc
I was hoping that with the ELSE that has greater than or equal to 5 that if it's not 0 then it moves to that branch and so on. But it doesn't. In the testing I am using the f9 function to change the respective variables numbers to see how it works and if it works. I didn't think you had to leave the area to make an effect but now I'm not even sure.
This really puts a block in front of me. I also have 7 heroes and sometimes have the self switch page with an extra branch to recognize if that hero is in the party so I can use the \N[0] message action. But I can't use 35 pages.
For now, I'm using those 7 copy pages with hero in party conditions to all jump to the one page with the self switch.
How do I create branches that can recognize the 3 responses: mean, average and nice that works and not have to add on individual branches and just stick with greater or less thans?
I figure it is the conditional branch being picky as to what order it's in or something. I've spent 30 minutes to no avail and now I'm just tired & frustrated. I really wanted some variety with messages and I'm willing to go the extra mile to do this. But that kinda stops if it's not working properly as I thought it would....
Thanks in advance!
Regards,
Evmaster
Each time player has a choice option the variable subtracts -1 or adds 1 if you answer friendly or not. Simple so far, right?
I then flip a self switch and create a new page using that self switch as a page condition, after the player answers the question on the first page to change the variables for John&Mary" and use another variable "Story progress" to hide all the other John&Mary's" on the map as the story progresses.
The new page has random conversation BUT it's different for each person on that one page. If you're mean in general you'll get mean responses back.
So, I've set up the self page with branches like this:
Variable set Random 1-3:
IF John♥" = is less than or equal to "0 " then
here are the mean messages with another branch using IF variable is equal to 1,2 or 3
ELSE
IF "John♥" = is greater than or equal to "5" then
here are the nice messages with another branch using IF variable is equal to 1,2 or 3
ELSE
IF "John♥" = is less than or equal to "4" then
here are the average messages messages with another branch using IF variable is equal to 1,2 or 3
While that's all great an all upon testing the game John doesn't even answer unless you are first under or equal to 0, it is only then he recognizes if his variable is equal to 5 or more, etc
I was hoping that with the ELSE that has greater than or equal to 5 that if it's not 0 then it moves to that branch and so on. But it doesn't. In the testing I am using the f9 function to change the respective variables numbers to see how it works and if it works. I didn't think you had to leave the area to make an effect but now I'm not even sure.
This really puts a block in front of me. I also have 7 heroes and sometimes have the self switch page with an extra branch to recognize if that hero is in the party so I can use the \N[0] message action. But I can't use 35 pages.
For now, I'm using those 7 copy pages with hero in party conditions to all jump to the one page with the self switch.
How do I create branches that can recognize the 3 responses: mean, average and nice that works and not have to add on individual branches and just stick with greater or less thans?
I figure it is the conditional branch being picky as to what order it's in or something. I've spent 30 minutes to no avail and now I'm just tired & frustrated. I really wanted some variety with messages and I'm willing to go the extra mile to do this. But that kinda stops if it's not working properly as I thought it would....
Thanks in advance!
Regards,
Evmaster
