Want to talk about modding the game or got a question about it that isn't Body Shop or Object Creation related? Post here. All other types should go to the respective sections.
Note: If you have a question about modding objects or bodyshop, please see the relevant forums in the Create section.
I've been trying to make an object's load function be called on lot load, but it doesn't work sometimes. In function's description (in SimPE) it says the function is called when "object version" variable is different from one in object's definition. I wonder, what the "object version" means, what it does, what makes it change, at what point, etc. Is it safe to change it manually (e.g. in expression) and what value can we change it to?
Ok, I didn't know it's only supposed to run, if object's code is changed. Thank you for the link, d4RE. I expected it to run on every single lot load, looking at maxis' use of this function. They have wall stereos turn on when sims arrive to community lot (= on lot load) in load function. Either I saw a leftover code that doesn't actually work, or there's something about community lots I don't know, or I misunderstand the meaning of "change of object on a disc", or there's more to it then people thought. I tend to trust people like Inge, so it's probably just me who doesn't get it.
I'll test my first assumption - to see if maxis' load function is what really makes stereos turn on on lot load.
I can get around it, it's not like the whole thing depends on load function, but I became really curious of how it works.