First of all, I am using YEP.152 Quest Journal System, and also SRD Hud Maker. I've already figured out how to do what I need to do, which was toggle on a display using the Hud Maker once a quest is added to your quest journal, but then I ran into another major issue. What happens if I end up with many quests at once?
Quest example: Wolf Hunt
Go out and kill wolves to collect wolf pelt. Return to me with 8 Wolf Pelt.
So I figured out how to run a check to update a variable containing the number of the quest item you have. Then, I set it up in the Hud Maker, so as soon as you acquire the quest "Wolf Hunt", in the top-right corner of the screen, a text object from the hud maker will appear that says "Wolf Pelt: 0". Now, I am able to change the number display because it's capable of outputting variable values, as such, anytime I acquire any wolf pelt, it will update the number. The problem, however, is, let's say I have 15 current quests. Now my entire right-side of my screen is taken up by little hud objects. Now, that still isn't a problem itself. The problem I will end up running into is this: If I haven't planned for those SPECIFIC 15 quests to be held simultaneously during that point in the game, the HUD displays will begin to overlap, circle all around the screen, or whatever I have to do. So now, I've come to ask if anyone has any potential ideas or solutions to my predicament (other than "well just limit how many quests your game has and create hud objects accordingly").
Ideas I've had so far:
- Only able to track X (let's say 10 for this example) quests simultaneously. I could do this, if I were able to input strings of text AS the variable values, so that way I could make the hud objects update dynamically as I turn on or off tracking for X and Y quests. Example: "Variable 1" : "Variable 2", where Variable 1 is the name of the object I have to collect, or creature that has to be slain, etc., and variable 2 is the number. That way for the first quest in the game, it could say "Wolf Pelt: 0", and then that same object could be reused later in the game, say for a Hunting quest, so it can update to say "Bears Slain: 0". This would allow me to only create a total of 10 hud objects, then update and reuse those 10 throughout the game without worry. But I don't know how to set text strings as the value for a variable to be displayed, if you even can.
Quest example: Wolf Hunt
Go out and kill wolves to collect wolf pelt. Return to me with 8 Wolf Pelt.
So I figured out how to run a check to update a variable containing the number of the quest item you have. Then, I set it up in the Hud Maker, so as soon as you acquire the quest "Wolf Hunt", in the top-right corner of the screen, a text object from the hud maker will appear that says "Wolf Pelt: 0". Now, I am able to change the number display because it's capable of outputting variable values, as such, anytime I acquire any wolf pelt, it will update the number. The problem, however, is, let's say I have 15 current quests. Now my entire right-side of my screen is taken up by little hud objects. Now, that still isn't a problem itself. The problem I will end up running into is this: If I haven't planned for those SPECIFIC 15 quests to be held simultaneously during that point in the game, the HUD displays will begin to overlap, circle all around the screen, or whatever I have to do. So now, I've come to ask if anyone has any potential ideas or solutions to my predicament (other than "well just limit how many quests your game has and create hud objects accordingly").
Ideas I've had so far:
- Only able to track X (let's say 10 for this example) quests simultaneously. I could do this, if I were able to input strings of text AS the variable values, so that way I could make the hud objects update dynamically as I turn on or off tracking for X and Y quests. Example: "Variable 1" : "Variable 2", where Variable 1 is the name of the object I have to collect, or creature that has to be slain, etc., and variable 2 is the number. That way for the first quest in the game, it could say "Wolf Pelt: 0", and then that same object could be reused later in the game, say for a Hunting quest, so it can update to say "Bears Slain: 0". This would allow me to only create a total of 10 hud objects, then update and reuse those 10 throughout the game without worry. But I don't know how to set text strings as the value for a variable to be displayed, if you even can.