For the most part, I did get this mod working however I notice that
- The TV turns off automatically when everyone from my household leaves the lot. I want to disable this behavior.
- There is a limit to the number of televisions that can play at the same time. For some televisions, some of the video gets stuck at the first frame. I want to increase this limit if possible.
I do have a lot of NRAAS mods installed like MC, Overwatch. Is there anything there that causes the behavior I am noticing? I know overwatch has a setting to automatically turn off inactive TVs everyday. I made sure to disable that but TVs still turn off if my household leaves the lot.
Here's the run() function of my interaction.
Code: Select all
public override bool Run()
{
DataDisc dataDisc = null;
if (!InteractionUtil.TryGetSelectedObject<DataDisc>((InteractionInstance)this, out dataDisc))
{
return false;
}
base.Target.mHomeMovie = dataDisc.ObjectId;
base.Target.mLastPlayedChannel = "Gameplay/Excel/TV/TVChannel:HomeMovie";
base.Target.ClearStateInformation();
base.Target.TurnTvOn(Target.mLastPlayedChannel, null);
// So that other sims won't mess with the TV screen
base.Target.DisableAutonomousInteractions();
return true;
}