Hello, all.
I'm sure someone somewhere has asked my questions before, but with over 430 pages in the support forum, I'm not sure I'll ever find it. So I hope you don't mind if I make a new post.
For my game I am trying to make a timing system for Morning, Afternoon, Evening, and Night. I've made one variable called, Time of Day. Depending on what number this variable is set to, 1=morning, 2=afternoon, ect. I have the system set to display a text box with what day, and what time of day for whenever this will change, which is based on certain events that I have set to increase the variable, or reset it back to 1 should it get higher than 4. I have also set via a Common event, that is called by individual events, so that the variable with state a certain script when it equals 1, 2, 3, or 4 so it should become called Morning, Afternoon, Evening, or Night in the displayed text block.
My issue though is, after I've started the game and get through the main intro, the first time I call the event to change the time to Morning for the first time, it says "Morning is undefined," and the game crashes. What does this mean? Hope I've explained this clearly.
An additional question. I want to have different stats for each NPC that the PC can effect for each NPC. I thought at first I could use the main stats of the game and just rename them what I want, but, I don't know how to set each stat to a specific number, and then increase or decrease those numbers by a certain amount at a certain time. I want each stat to start at 1, and have 100 max. I want so that at certain times, depending on the character's actions, these will either increase, or decrease, based primarily on two of the stats numbers. For instance. If the character does something to increase stat 3, then the formulae for that would look something like "stat1 - stat2 = X (Then, if X is between A and B then amount stat3 will increase = 1. If X is between B and C, then Stat3's will increase by 2, and so on.")
Thank you for the help!
Dankbarer
I'm sure someone somewhere has asked my questions before, but with over 430 pages in the support forum, I'm not sure I'll ever find it. So I hope you don't mind if I make a new post.
For my game I am trying to make a timing system for Morning, Afternoon, Evening, and Night. I've made one variable called, Time of Day. Depending on what number this variable is set to, 1=morning, 2=afternoon, ect. I have the system set to display a text box with what day, and what time of day for whenever this will change, which is based on certain events that I have set to increase the variable, or reset it back to 1 should it get higher than 4. I have also set via a Common event, that is called by individual events, so that the variable with state a certain script when it equals 1, 2, 3, or 4 so it should become called Morning, Afternoon, Evening, or Night in the displayed text block.
My issue though is, after I've started the game and get through the main intro, the first time I call the event to change the time to Morning for the first time, it says "Morning is undefined," and the game crashes. What does this mean? Hope I've explained this clearly.
An additional question. I want to have different stats for each NPC that the PC can effect for each NPC. I thought at first I could use the main stats of the game and just rename them what I want, but, I don't know how to set each stat to a specific number, and then increase or decrease those numbers by a certain amount at a certain time. I want each stat to start at 1, and have 100 max. I want so that at certain times, depending on the character's actions, these will either increase, or decrease, based primarily on two of the stats numbers. For instance. If the character does something to increase stat 3, then the formulae for that would look something like "stat1 - stat2 = X (Then, if X is between A and B then amount stat3 will increase = 1. If X is between B and C, then Stat3's will increase by 2, and so on.")
Thank you for the help!
Dankbarer