Posted: Sat Mar 22, 2025 9:23 pm Post subject: Any way to have a value display as another besides dropdown?
Hi, I did some searching and this question has probably been answered and I just didn't know the right term to find it.
I'm trying to make a table and I'm barely above novice with CE, I'd say. I figured out that the values I needed were multiples of the shown value ingame, and I was hoping I could have it set up so that I could input the ingame value I want, and then CE will automatically set the value to the correct one.
For example, If a value is 98 ingame, the internal value is 335. I don't actually know how the math works on that one, but it's at least consistent lol.
I know I could do something like set a value, check it, then make a dropdown list and have it show correct value that way, but it would be suuuuuper tedious to set up, and then actually changing it would suck.
This is unrelated I guess, but if it matters, the max value ingame is 249 so I figured it was probably just a 2byte value that is 999/4 rounded down. (that doesn't really work though based on what I've done but I'm terrible at math.)
Anyway, not really asking for math help, just that *if it mattered* I figured I'd add any info I came up with.
I also added a screenshot of the table I currently have, if it matters.
EDIT: Oh, I forgot to mention. There are a few stats I haven't found yet that don't seem to be part of the same formula. Speed shows the correct value already. I have 71 speed and the value I found is actually 71. There are three more I haven't found that *also* seem to use their own formulas. And you know, again, not really asking for help finding them. I just add every thought that comes to my head to be as informative as I can lol.
Custom types are what you're looking for. Regardless, you'll need to figure out how exactly the value displayed in-game to the player corresponds to the value stored in memory. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum