Posts: 268
Thanks: 1167 in 17 Posts
9 Achievements
How could I implement a method which returns a notification style with a sims(Target) face that is not in the active household.
I was made aware of a bug in my Virginity script mod. Where the "ask if Virgin" interaction does not show a notification when the target is not a part of the active household. I tested it and it turned out to be true. I then went back to my code and messed around with it and I believe that the reason for the bug is the fact that I used this line
Code:
base.Target.ShowTNSIfSelectable(NonVirgin, StyledNotification.NotificationStyle.kSimTalking);
Because the target sim is not in the household, the target sim is therefore not selectable/playable. Therefore, the notification does not show up after the "Ask if Virgin" interaction. I initionally thought this code meant if they were just selectable.
I really want the picture of the sims face to show up when they answer this question in the notification pop up. Is there an alternative to "ShowTNSIfSelectable" that works for non household sims? I know it is possible, because the "ask for sign" interaction shows the targets face picture in the notification when they are not even in the same household. As of this moment I did not find anything significant in ILSpy, but if I do I will come back and report on the alternative.
Again any help would be appreciated. Thank you!