Quick Reply
Search this Thread
Forum Resident
Original Poster
#1 Old 4th Jun 2026 at 4:45 AM
Default Elder Age Data location
Hi helpful people.

I am making a couple of unrelated mods that need to use the number of days a particular sim has been an Elder, and I can't work out where that data is saved by the game.

I can do it for other age stages, because they don't change. So I look up the appropriate constant in the Age Controller, and then get the days remaining from the sim's PersonData, subtract one from the other and have what I need. But the total days in the Elder stage varies by sim, and I don't know where it is. Probably the answer is PersonData somewhere, but if someone could point me in the right direction of where it would be really helpful.

Thank you!
Top Secret Researcher
#2 Old 4th Jun 2026 at 9:45 AM
You have person data 0x9C "Age Duration". That is the length of the bar, so you don't need to tie your mod to the aging controller. But of course you can't tell how the person has used the elixir of life without incrementing a new counter every day.
Forum Resident
Original Poster
#3 Old 4th Jun 2026 at 1:15 PM
Oh, so I didn't need to look up the age controller at all for the other thing I'm doing... Oh, no, I do, because the sim might not be an adult for that.

Thank you, that's very helpful, I can use that for everything I need.
Top Secret Researcher
#4 Old 5th Jun 2026 at 5:43 AM
Well, I don't know at all what the other thing of your mod is. Someone might have modified the age durations to make them random too since they have min and max constants.

What I do in my modded game is use a field to count up every day except on vacation. This way I can see their total age. They can use the elixir or wish for a long life on the genie teapot and get more days. Sims stop going to school when their age is above a certain number. At this point they can go to university.
Back to top