- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Making interactions available on thieves and service Sims that you call to you home
- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Making interactions available on thieves and service Sims that you call to you home
Replies: 2 (Who?), Viewed: 424 times.
#1
30th Jun 2020 at 12:57 PM
Posts: 1,500
Thanks: 4283 in 41 Posts
Making interactions available on thieves and service Sims that you call to you home
The question is in the title. What do I need to do to make this possible?
Advertisement
#2
30th Jun 2020 at 1:53 PM
Posts: 3,860
Thanks: 8548 in 67 Posts
With interactions you mean like "Sim" interactions that any sims has, but service sims only have like 3 interactions, right?
Bonehilda is actually your best reference here
Now if we look at bonehilda's "SpawnBonehilda()" method, we see somewhere along the code that sets her up, this:
Hope this helps a bit!
Bonehilda is actually your best reference here
Code:
Every service sim obviously has their own "Situation" for when they're working. This is basically the way for the game to see them slightly different than other sims once they're being instantiated, or even 'freeze' their moodlets and what they as the sim are supposed to do, that's a bit different from others. public override void Init(BonehildaSituation parent) { parent.Bonehilda.Motives.CreateMotive(CommodityKind.BeBonehilda); parent.Bonehilda.Motives.CreateMotive(CommodityKind.BeBonehildaGoofOff); parent.Bonehilda.Motives.CreateMotive(CommodityKind.BeMaid); parent.Bonehilda.Motives.CreateMotive(CommodityKind.LookAfterBabyOrToddler); parent.Bonehilda.Motives.CreateMotive(CommodityKind.BeButler); parent.Bonehilda.Motives.CreateMotive(CommodityKind.LookAfterChild); parent.Bonehilda.Motives.CreateMotive(CommodityKind.BabysitterClean); parent.Bonehilda.Autonomy.DecrementAutonomyDisabled(); mAlarmHandle = base.Parent.Bonehilda.AddAlarmRepeating(BonehildaCoffin.kAlarmFireRate, TimeUnit.Minutes, CheckForWork, "Bonehilda Check for all clean.", AlarmType.DeleteOnReset); parent.Bonehilda.AddInteraction(BonehildaCoffin.ChatWithBonehilda.Singleton); parent.Bonehilda.AddInteraction(BonehildaCoffin.DismissBonehildaSim.Singleton); parent.Bonehilda.AddInteraction(BonehildaCoffin.ChillOut.Singleton); }
Now if we look at bonehilda's "SpawnBonehilda()" method, we see somewhere along the code that sets her up, this:
Code:
So what you could do, on a global alarm or load, maybe use the "EnableSocialsOnSim()" method. Or even use NRAAS's DebugEnabler's code of "ReEnableSocials". (This function can also be found in game > Click on sim > Sim > EnableSocials.mBonehildaSim.DisableSocialsOnSim();
Hope this helps a bit!
#3
30th Jun 2020 at 4:00 PM
Posts: 1,500
Thanks: 4283 in 41 Posts
Who Posted
|