#2
30th Nov 2016 at 12:30 AM
Posts: 2,627
Thanks: 8602 in 26 Posts
28 Achievements
View My Journal
Did you know Sims have relationships to objects?
If I recall correctly, this is how they know which bed is theirs.
I took a peek at the "No What's This?" hack over at MATY. It contains overrides for the "Interaction - Come and See Object" BHAV for three objects (think global objects that exist in the Sim ether) which push this behavior. In the mod, the Go and reaction animation parts are skipped.
Although I could have used the "View BHAV" link, I went ahead and grabbed one their Group Numbers to use in the "Open by Group Number" box in the Object Workshop to open the entire object.
In the "Interaction - Come and See Object" BHAV, there is a "Set Been Reacted to Rel" BHAV which sets the Sim's relationship to the object
Code:
[prim 0x001A] Relationship ("STR" := Literal 0x0001,
relationship: Stack Object's 0x000B (object id) .. My 0x000B (object id),
fail if too small: False,
use neighbor IDs: False,
don't check presence of second object: False)
You can see how this is checked against in the "Interaction - Come and See Object - TEST" BHAV. So it looks like the answer is not the OBJD, but with the Sims' relationship to the object that's set once they've "reacted" to it. You can either have the hack block the visible part of the "What's This?" interaction altogether or have the object cycle through Sims on the lot who have not "seen" the object yet and set their relationship accordingly.
I don't mind if you call me "MSD" or something for short.
Tumblr
Perhaps someday I'll have leisure time back...