Hi, me again (Not that I'm here often) with more issues with someone else's VX Ace script... I'm just gonna get right to it. Fortunately, I believe that these issues aren't gonna be as difficult to fix this time.
I'm using a script made by a Lecode that displays the icons of states applied to enemies. It's a great script, works wonderfully aside from two issues I'm having with it. In fact, I think these issues are downright bugs. Anyway, before I talk about the issues individually, let me provide you a link to where you can find the script... is what I would say except I can't seem to find the script on the Internet anymore. So, instead, I've attached a 'Text document' to this post that contains the script. Now, onto the issues.
Issue 1: Turn count always visible (Solved)
This script has a feature that displays a turn count on a state's icon. If a state is to be automatically removed after a set number of turns, the icon will display a small number that goes down once a turn. Once that number reaches 0, the state is removed. Personally, I don't want this feature. I want to remove it. Fortunately, this feature can be turned off by simply changing the line 'Turn_Count = true' to 'Turn_Count = false'. At least, that's the impression I'm getting from it. Thing is, true or false, the turn count is always visible. As far as I can tell, this is a bug and I'd like to believe that it's easy to fix. Unfortunately, as scripting inept as I am, I have no idea how to fix it.
Issue 2: Visible invisible states (Solved)
One of the things about states in VX Ace that I really like is that states without an icon don't take up space in an actor's list of states. For example: States S1, S2 and S3 with priorities 100, 75 and 50 respectively. S1 and S3 each have an icon while S2 does not. In battle, only two states can be displayed for an actor. If an actor has all states S1, S2 and S3, normally only S1 and S2 would be displayed. However, since S2 doesn't have an icon it will instead display S1 and S3. This can be really useful as it allows for invisible dummy states that the player would have no idea about regardless of their priorities (Although, I suppose this could also be avoided by simply giving those dummy states a priority of 0 *Shrugs*).
So, how does this apply to Lecode's 'Display States' icons' script? Well, the short answer is: It doesn't. This script doesn't have this function. States without an icon will still take up space in an enemy's list of states. Since these states are centered on an enemy's location, it causes the states to bounce left and right with possible gaps in between as dummy states are added and removed. Not to mention, if there's an invisible state that's permanent, that just pushes the list of states to the side permanently. So, anyone have any idea how to make states without icons not take up space in an enemy's list of states in this script? I sure don't.
There, those are the two issues I'm having trouble with. Here's to hoping that I'll get the help that I need. Also, if my explanation for the second issue was too difficult to understand, let me know and I'll see if I can provide a picture of it instead. Thanks in advance. This is Midashe signing out.
I'm using a script made by a Lecode that displays the icons of states applied to enemies. It's a great script, works wonderfully aside from two issues I'm having with it. In fact, I think these issues are downright bugs. Anyway, before I talk about the issues individually, let me provide you a link to where you can find the script... is what I would say except I can't seem to find the script on the Internet anymore. So, instead, I've attached a 'Text document' to this post that contains the script. Now, onto the issues.
Issue 1: Turn count always visible (Solved)
This script has a feature that displays a turn count on a state's icon. If a state is to be automatically removed after a set number of turns, the icon will display a small number that goes down once a turn. Once that number reaches 0, the state is removed. Personally, I don't want this feature. I want to remove it. Fortunately, this feature can be turned off by simply changing the line 'Turn_Count = true' to 'Turn_Count = false'. At least, that's the impression I'm getting from it. Thing is, true or false, the turn count is always visible. As far as I can tell, this is a bug and I'd like to believe that it's easy to fix. Unfortunately, as scripting inept as I am, I have no idea how to fix it.
Issue 2: Visible invisible states (Solved)
One of the things about states in VX Ace that I really like is that states without an icon don't take up space in an actor's list of states. For example: States S1, S2 and S3 with priorities 100, 75 and 50 respectively. S1 and S3 each have an icon while S2 does not. In battle, only two states can be displayed for an actor. If an actor has all states S1, S2 and S3, normally only S1 and S2 would be displayed. However, since S2 doesn't have an icon it will instead display S1 and S3. This can be really useful as it allows for invisible dummy states that the player would have no idea about regardless of their priorities (Although, I suppose this could also be avoided by simply giving those dummy states a priority of 0 *Shrugs*).
So, how does this apply to Lecode's 'Display States' icons' script? Well, the short answer is: It doesn't. This script doesn't have this function. States without an icon will still take up space in an enemy's list of states. Since these states are centered on an enemy's location, it causes the states to bounce left and right with possible gaps in between as dummy states are added and removed. Not to mention, if there's an invisible state that's permanent, that just pushes the list of states to the side permanently. So, anyone have any idea how to make states without icons not take up space in an enemy's list of states in this script? I sure don't.
There, those are the two issues I'm having trouble with. Here's to hoping that I'll get the help that I need. Also, if my explanation for the second issue was too difficult to understand, let me know and I'll see if I can provide a picture of it instead. Thanks in advance. This is Midashe signing out.