Opportunity Interactions On Objects

Apply within. 6 years of experience required. Must not like coffee.
Post Reply
User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Opportunity Interactions On Objects

Post by Missy_Hissy » February 23rd, 2019, 4:46 am

Hi all, me again.
I'm working on some opportunities that require interactions on the computer. Having scanned through all the files relating to EA's opportunities, I've found the necessary code but this bit seems a bit limiting:
<Target>ObjectOnHomeLot</Target>
<TargetData>Sims3.Gameplay.Objects.Electronics.Computer,Sims3GameplayObjects</TargetData>

After testing extensively, I see that the interaction I set up does show on the computers on the home lot. It also shows on laptops carried in an inventory but cancels as soon as you select it. However if the laptop is placed anywhere on the home lot, the interaction completes properly.

So my question is this: is there any way to enable these interactions to appear on community lot computers? For example, an opportunity requiring a Sim to 'Write Report' on the computer would enable him to write that report on his laptop either at home or in the library. Is there something I should put instead of ObjectOnHomeLot in the Target parameter? I've searched through EA's code but didn't find anything and there's nothing mentioned in the Opportunity documentation on the OmniCareer but maybe it's something I missed? Or is it simply not possible due to the limit in the code?

Best Answer by Chain_Reaction » February 23rd, 2019, 3:08 pm
From a glance it looks like only ObjectOnHomeLot is useful in your situation and it is very limiting indeed. The interaction canceling on laptops sounds like either the interaction or ITUN isn't setup correctly. Computer interactions need to derive from Computer.ComputerInteraction and have the proper posture conditions setup in the ITUN to work correctly. Use other EA computer interactions or the ones in woohooer for reference.

GO TO FULL POST ➙

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7568
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Opportunity Interactions On Objects

Post by Chain_Reaction » February 23rd, 2019, 3:08 pm

From a glance it looks like only ObjectOnHomeLot is useful in your situation and it is very limiting indeed. The interaction canceling on laptops sounds like either the interaction or ITUN isn't setup correctly. Computer interactions need to derive from Computer.ComputerInteraction and have the proper posture conditions setup in the ITUN to work correctly. Use other EA computer interactions or the ones in woohooer for reference.

User avatar
Missy_Hissy
Reactions:
Posts: 168
Joined: February 20th, 2013, 6:00 pm
Answers: 4
Location: UK
Contact:

Opportunity Interactions On Objects

Post by Missy_Hissy » February 24th, 2019, 9:28 am

Thanks Chain, I thought that was probably the case but didn't hurt to check. I'll have a look at the interactions you've suggested, thanks!

Post Reply