Talk:Opportunity: Difference between revisions

2,209 bytes added ,  9 years ago
imported>Nikel23
 
(One intermediate revision by the same user not shown)
Line 6:
:Hmm, are you sure? All the Laser Rhythm-a-con opportunities require Sims to have at least level 5 of the skill. From what I understand, the game checks if the opportunity requirements are all fulfilled first, and then it will be considered in the random opportunity phone call. If you don't have sufficient skill, the laser harp opportunities won't be considered and the weighted chance becomes irrelevant. Or am I missing something here? [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 02:59, May 13, 2015 (UTC)
::The two opportunities I was talking about were EP11_Skill_Future01 and EP11_Skill_Future02. Opportunity requirements are ignored if you get a phone call while not being in the target world but not by your sim who answers the call. --[[Special:Contributions/93.201.239.45|93.201.239.45]] ([[User talk:93.201.239.45|talk]]) 11:03, May 15, 2015 (UTC) p.s.: I would take a closer look at <span style="color: #008000; ">Sims3.Gameplay.Opportunities.OpportunityCall+</span><span style="color: #191970; font-weight: bold; ">GetQueryResponse</span> and its dependencies --[[Special:Contributions/93.201.239.45|93.201.239.45]] ([[User talk:93.201.239.45|talk]]) 11:13, May 15, 2015 (UTC)
 
:::I've checked <code>GetQueryResponse</code> method many times already, but I still couldn't find the problem. In my experience, Sims would respond negatively to an opportunity call. It means the <code>AddOpportunityNow</code> method somehow returned a false value. About the opportunity requirements being ignored... Hmm, I didn't know about that. The way I understood the code was that it would check all requirements as well as TargetWorldRequired to see if an opportunity is available for the Sim or not. Then, the game would pick an opportunity randomly between the pool of available opportunities. And when you pick up the phone, the game would check the requirements again before the opportunity dialog shows up.
 
:::Assuming you were right, maybe if I tweak EP11_Skill_Future01 and EP11_Skill_Future02 opportunity setups, Sims could get opportunity calls normally again. I'll try it tomorrow. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 18:39, May 16, 2015 (UTC)
 
<blockquote class="note">Opportunity requirements are ignored if you get a phone call while not being in the target world but not by your sim who answers the call.</blockquote>
 
::::After a night's sleep, I checked the code again and it turned out you were right about everything! I guess I just... missed some parts of the code. So I removed the <TargetWorldRequired>FutureWorld</TargetWorldRequired> for EP11_Skill_Future01 and EP11_Skill_Future02, and I can receive opportunity calls normally again. Thank you so much for your valuable information! :) [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 05:07, May 17, 2015 (UTC)
Anonymous user