- Joined
- May 14, 2015
- Messages
- 4
- Reaction score
- 0
- First Language
- English
- Primarily Uses
So I don't have any real experience with the engine so I'm experimenting by modding some things here and there in existing games. For one title you can battle one of two secret bosses after getting an item depending on the gold you have. I added a third boss and everything about it seemed to be going fine except, after I added it, it eliminated one of the bosses.
OK so the scripting in the Common Events originally looks something like this:
@>Conditional Branch: Gold is (let's say...) 999 or less
@>Call Common Event: [bossX]
@>
: Else
@>Conditional Branch: Gold is 1000 or less
@>Call Common Event: [bossY]
@>
: Else
@>Conditional Branch: Gold is 1001 or more
@>Call Common Event: [bossX]
@>
: Else
@>
: Branch End
...aaand so on until all the branches are closed off. OK so as you see in this set up if you have exactly 1000 gold you will face BossY in this scenario. If you gold in any other quantity at all you will face BossX.
Now here's where I wanted to add in a BossZ, as we'll call him, as a third option and where the problems are arising.
Initially I was having problems adding him in the script to be fightable (is that a word? able to be foug- never mind...), until I did it this way with much success and happiness and all that:
@>Conditional Branch: Gold is 0 or less
@>Call Common Event: [bossZ]
@>
: Else
@>Conditional Branch: Gold is 1 or more
@>Call Common Event: [bossX]
@>
: Else
@>Conditional Branch: Gold is 999 or less
@>Call Common Event: [bossX]
@>
: Else
@>Conditional Branch: Gold is 1000 or less
@>Call Common Event: [bossY]
etc. You get the idea. The same except for the added two Conditional Branches at the top. I could now fight my custom BossZ, and could still also fight BossX if I wanted to obtain currency from battles or wherever.
Problem is: BossY has been eliminated from the picture altogether!
Going in with the monetary conditions required to fight BossY, I get BossX instead. I think I know what the problem here is (putting in BossX ahead as being conditional to 1 or more canceling out BossY's conditional requirements perhaps?) but I don't know how to fix it, or, rather, since this is something I'm adding, how to make all three work at the same time without having to dump out one of them.
I tried other workarounds and I'm not going to type out everything I've tried (I've only tried the logical few I could think of and they didn't work and don't know where to go from there), but they have including fitting in the middle BossY as needing 1000 Gold or more followed by 1000 Gold or less (which no, as I said, does not work).
OK soooooo... basically, how would I script this out in a way to make this work, that is, if it is possible to make it work (and I don't see why it couldn't)? Thanks in advance!
OK so the scripting in the Common Events originally looks something like this:
@>Conditional Branch: Gold is (let's say...) 999 or less
@>Call Common Event: [bossX]
@>
: Else
@>Conditional Branch: Gold is 1000 or less
@>Call Common Event: [bossY]
@>
: Else
@>Conditional Branch: Gold is 1001 or more
@>Call Common Event: [bossX]
@>
: Else
@>
: Branch End
...aaand so on until all the branches are closed off. OK so as you see in this set up if you have exactly 1000 gold you will face BossY in this scenario. If you gold in any other quantity at all you will face BossX.
Now here's where I wanted to add in a BossZ, as we'll call him, as a third option and where the problems are arising.
Initially I was having problems adding him in the script to be fightable (is that a word? able to be foug- never mind...), until I did it this way with much success and happiness and all that:
@>Conditional Branch: Gold is 0 or less
@>Call Common Event: [bossZ]
@>
: Else
@>Conditional Branch: Gold is 1 or more
@>Call Common Event: [bossX]
@>
: Else
@>Conditional Branch: Gold is 999 or less
@>Call Common Event: [bossX]
@>
: Else
@>Conditional Branch: Gold is 1000 or less
@>Call Common Event: [bossY]
etc. You get the idea. The same except for the added two Conditional Branches at the top. I could now fight my custom BossZ, and could still also fight BossX if I wanted to obtain currency from battles or wherever.
Problem is: BossY has been eliminated from the picture altogether!
Going in with the monetary conditions required to fight BossY, I get BossX instead. I think I know what the problem here is (putting in BossX ahead as being conditional to 1 or more canceling out BossY's conditional requirements perhaps?) but I don't know how to fix it, or, rather, since this is something I'm adding, how to make all three work at the same time without having to dump out one of them.
I tried other workarounds and I'm not going to type out everything I've tried (I've only tried the logical few I could think of and they didn't work and don't know where to go from there), but they have including fitting in the middle BossY as needing 1000 Gold or more followed by 1000 Gold or less (which no, as I said, does not work).
OK soooooo... basically, how would I script this out in a way to make this work, that is, if it is possible to make it work (and I don't see why it couldn't)? Thanks in advance!

