So im making a sidequest where the hero's are sent to defeat 8 mini bosses spread out in the game
and that beating them will yeild awsome items...say at 2, 4 and a great prize for getting all 8
now using what i know which isent much since i am still kind of a newbie
i figure that for this to work i would have to create 8 switches for each mini boss and 2 other switches for each pair of mini bosses since the condition box only has 2 switches and i would need a switch for them to appear and for after they die
but i still can't figure out how to make the questgiver give you items for every two if people don't happend to find them in the right order unless i seperate each boss by colors and make it that you need two of the same color and such
so 16 switches in the least...probably more since i had some stuff i wanted to add
so im thinking there's got too be a better way right?
Ps keep in mind im a newbie and everything i know i figured out throught trying stuff and a few youtube videos
so there's some stuff that i still don't know that might be basic stuff
in otherwords if it feels complicated or tricky plz elaborate and explain well^^
thank you very much!
Need help trying to simplify a sidequest related event
● ARCHIVED · READ-ONLY
-
-
Self switches on each boss, that get turned on when they're defeated, plus an extra event page on each conditioned by that self switch with no graphic. This makes them disappear when defeated.
In addition, use ONE variable, and add 1 to it each time a boss is defeated (at the same time as you turn on the self switch). It will keep track of how many you've killed.
If you then want to check how many bosses have been killed each time you defeat one, call a common event that will do conditional branches based on the value in the variable.
So each boss event will have, on its first page:
Code:with another blank page conditioned by the self switch.Battle Processing: whatever troopControl Self Switches: A = ONControl Variables [0001: Boss Counter] += 1Call Common Event: Check How Many Bosses Killed -
OK so I totally follow you up to the point where variables come in...now as ashamed as I am I have 3h worth of playtime done and I haven't used a single variable lol
Either way I managed to replicate what you wrote with the [boss defeated]+=1 hoping I did it right but the rest is complete unknown territory for me^^
And once I get to the quest giver I'm gonna have too call back the common event for bosses and set conditional branches for if 2 or 4 or 8 were defeated? Did I get that right? I think I get the theory but I don't know how to do it^^ -
Conditional Branch: Variable [0001: Bosses Defeated] >= 8
... do whatever you want if 8 or more were defeated
Else
Conditional Branch: Variable [0001: Bosses Defeated] >= 4
... do whatever you want if 4 or more were defeated
else
Conditional Branch: Variable [0001: Bosses Defeated] >= 2
... do whatever you want if 2 or more were defeated
Branch End
Branch End
Branch End -
whoa^^ conditional branch-ception
Seems to work perfectly thank you very much for your time and patience -
Please "mark solved" the post that answers your question, not the one where you say the thread is solved. The "mark solved" post is the one that will then appear at the top of the thread, should anyone else have the same question, they will be able to see the answer without having to read through the whole thread (which can sometimes take several attempts before the correct solution is found) :)
-
Whoopsie sorry 'bout that