|
Post by emperorheinrich on Dec 4, 2021 8:42:19 GMT -5
Hey all,
I'm working on a project that requires that I keep track of how Sims' fitness changes over the course of days. Essentially I want a commodity to be able to tell me "this sim has gained this much muscle in the last (x) time." so I can make loots and buffs based on it.
I know I probably can't do that with just the straight fitness value, but I thought what I could do is make another commodity to keep track of the change and decays toward zero over time. So I have two questions:
1. How do I make it so whenever a sim gains/loses fitness it affects my custom commodity by the same amount? 2. How do I make a commodity decay towards zero instead of it going into the negative after it reaches zero?
Thanks very much in advance!
|
|
|
Post by MizoreYukii on Dec 6, 2021 17:27:24 GMT -5
1. Thinking about it and looking around, I don't think there is an efficient way to do this without a script, or the alternative is looking for every area in the game that adjusts weight and adding your stat to it as well. I do not know how to script something exactly like how you want, so I'm afraid I'm no help here and would recommend joining the Creator Musings server (linked in signature) where scripters can help. 2. Setting your _default_convergence_value to 0 should keep it at zero once reached.
|
|