I'm not sure if I'm understanding correctly, but...
The
Show Picture command shows a picture with an ID (1~100). So you can show up to 100 pictures at the same time. To show more than 1 picture, use more than 1 Show Picture command. If 2 pictures overlap, the one with higher ID shows on top.
Example:
Spoiler
- Comment: Set up diary pictures.
- Show Picture 7: Diary_Background
- Erase Picture: 8
- Erase Picture: 9
- Comment: Stage 1 content.
- If Variable 1 = 1
- Show Picture 8: Diary1
- If Switch 1 is ON
- Show Picture 9: Diary1_S1
- Jump to Label: Done
- Comment: Stage 2 content.
- If Variable 1 = 2
- Show Picture 8: Diary2
- If Switch 2 is ON
- Show Picture 9: Diary2_S2
- Jump to Label: Done
- Label: Done
- Comment: Wait for player input, then clear.
- Show Text: Text = (Nothing), Background = Transparent.
- Erase Picture: 7
- Erase Picture: 8
- Erase Picture: 9
Here, I've used picture ID 7 for the background, 8 for the main content, and 9 for optional content.
But you make a mistake, because Variable can be 1 to 7, And you can encounter variable = 2 with 3 switch ON, switch can either 1,2,3,4 ON or OFF at the same time, starting to variable=2,3,4,5..
Sorry for mi english, i try to explicate simple :
The main variable is Diary, this follows the main plot, and is therefore gradual from 0 to i dont know.. 7. ok ? The second are various switch, like 4 or 5. This are NOTES that you CAN catch or no, speaking to random citizen. And you can activate them from phase 2 of the variable to the final .. is clear now no ?
😀🤣
Then you suggested that I separate the images, to manage variables and switch separately, but this, that you show is a unique event xD im a little bit confused. Remember that i start all with a simple common event. that’s why I asked you how to connect the variable control, with the switch control...
this kinda suggestion from programer.. I'm Web Programer
this matrix for detailing the ending (example)
based on this post.. you will have a lot condition. which if you make on action command.. it would be like previous image
if this write as plugin.. it would help a lot, since it would be readable
JavaScript:
let cond1 = $gameVariables.value( 21 );
//where you place cond 1
let cond2 = $gameVariables.value( 22 );
//where you place cond 2
let cond3 = $gameVariables.value( 23 );
//where you place cond 3
let cond4 = $gameVariables.value( 24 );
//where you place cond 4
let endValue;
if( cond1==1 AND cond2==2 and cond3==1){
switch (cond4) {
case 1:
endValue = 1;
break;
case 2:
endValue = 2;
break;
default:
endValue = 5;
}
}
$gameVariables.setValue( 31, endValue);
//where you send the result value on var number 31
to run you can use
then use var 31 to decide what the ending
to make plugin. you can search how to make simple plugin
on this forum or/and read my guide on this
Google Doc (link)
nb: image put on spoiler to decrease bandwith consume
Man i realy like your help, but i need a summary of what this code indeed DO xD for understand, and either i dont know the other command in javascript, like show picture, play SE, wait etc
i try to read the code, but is complicated, and i think i see only 1 switch in this code. i even don't understand if is variable 21, or the value of the variable is 21 xDXDXDXD