Page 1 of 1

Opportunity Interactions On Objects

Posted: February 23rd, 2019, 4:46 am
by Missy_Hissy
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?

Opportunity Interactions On Objects

Posted: February 23rd, 2019, 3:08 pm
by Chain_Reaction
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.

Opportunity Interactions On Objects

Posted: February 24th, 2019, 9:28 am
by Missy_Hissy
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!