I'm currently in the process of constructing a game called Line Defense. It will carry out the basic features of a Tower Defense Game except instead of the towers (characters) shooting at enemies, a battle initiates when there is a character in a certain spot and the enemy passes it. This is being done with absolutely no scripts (except a side-view battle system), and it's actually coming out very good (even thought the conditional branches are HUGE), but I've hit a snag. I'm trying to use the characters' levels to determine if they'll be eligible for upgrades. I'll separate it into spoilers to reduce the size.
So, if someone can help, it'd be much appreciated.
I couldn't find a conditional option based on what level a character is, so I decided to make a parallel common event that sets the variables based on the characters' levels. The parallel event basically looks like this:
Checked:
The switch needed is turned on.
Concerns:
The characters are removed after battle. Perhaps the characters have to be in the party or the process won't work. If this is the case, I will probably want to kill myself (I'll have to go through and edit like 5,000,000 conditional branches), but I'll have no other choice. If you can think of a way to fix this (if it's the problem) without going through each conditional branch, please tell me.
Code:
Control Variables: [0004:Level 1] = [Fighter]'s Level
Repeated several times with different variables.
Wait: 1 frame(s)
Checked:
The switch needed is turned on.
Concerns:
The characters are removed after battle. Perhaps the characters have to be in the party or the process won't work. If this is the case, I will probably want to kill myself (I'll have to go through and edit like 5,000,000 conditional branches), but I'll have no other choice. If you can think of a way to fix this (if it's the problem) without going through each conditional branch, please tell me.
This is pretty basic, I think. It's included in a regular event.
Now the problem is that the upgrade process never starts, so I don't really think there is any problem with this
Code:
Conditional Branch: Variable [0004:Level 1] >= 3
Conditional Branch: Switch [0021: Upgrade 1] == OFF [color=yellow]#So you can't upgrade twice[/color]
Upgrade stuff
Control Switch: [0021: Upgrade 1] = ON
Repeated several times with different values.
Now the problem is that the upgrade process never starts, so I don't really think there is any problem with this
So, if someone can help, it'd be much appreciated.