I know I've tried this before, but I shall try again.
New game, less expansive than the last project I tried to do. Still will attempt to finish Shattered Alliance eventually, but *baby steps*...
New game has no name yet, but I am already in production. I have the first map done slightly past placeholders and am now putting in the HUD. My question is this: how do I make a variable number show up in a SPECIFIC PLACE on the screen? [show value] doesn't work, as it puts the number in the far lower left. I want to specify where the number gets put. Help?
Thanks! But... now that I got the base number where I want it, how do I have the script change the number?
This is a counter for money. The character walks onto an coin (NPC) and that triggers a script that adds X amount to the money total. Re-telling the script to append the number just adds the number to the end of the string, which was rather expected. Again, help?
EDIT: To clarify, I guess I should have asked for a non-static numerical value I can position on-screen to where I want it. I've tried a dozen ways with the strings, and none seem to be working.
I do have a fallback, in case this doesn't work.
This is a counter for money. The character walks onto an coin (NPC) and that triggers a script that adds X amount to the money total. Re-telling the script to append the number just adds the number to the end of the string, which was rather expected. Again, help?
EDIT: To clarify, I guess I should have asked for a non-static numerical value I can position on-screen to where I want it. I've tried a dozen ways with the strings, and none seem to be working.
I do have a fallback, in case this doesn't work.
Well, you do need to remember to "clear string (string ID)" every time you call the script if you want the number to avoid stacking on itself. Make sure you call it before you append the number.
Are you looking for real-time updates of the numbers? If so, you could launch a timer that constantly reports the present value of the money display. Again, just make sure the script that's attached to the timer resets the timer if you expect it to constantly update.
If you want the player to manually input numbers as values, you can use "number from string." That command is used as a condition if memory serves correctly.
That should be enough to get you on your way.
Place Obligatory Signature Here
Are you looking for real-time updates of the numbers? If so, you could launch a timer that constantly reports the present value of the money display. Again, just make sure the script that's attached to the timer resets the timer if you expect it to constantly update.
If you want the player to manually input numbers as values, you can use "number from string." That command is used as a condition if memory serves correctly.
That should be enough to get you on your way.
Place Obligatory Signature Here



