Post by MissPatTS3 on Aug 3, 2020 23:46:33 GMT
Q.: "For custom career opportunities that require talking to a sim, is there a way to set what specific type of sim you want to target? For instance can you set it to target a sim...
And I guess if the target sim no longer fits any of those requirements for whatever reason, after the opportunity has been accepted, then maybe the opportunity could disappear or something...?" (asked by simshai91 )
A.: MissyHissy replied: "There is, yes. You use the <Target> and <TargetData> values to make it work. I'll show you an example from my Basketball Career:
So here, the sim in the career needs to play Basketball with a stranger whose Athletic skill level is anywhere between level 2 and level 10. You can the cross-reference that in the Requirements section of the opportunity file.
Twallan wrote up some resources for this which I will include here (as a .docx document): Careers_Tutorial_Opportunities.zip (14.29 KB)
Another good example is in my Toy Maker career:
And then here is my code to cross-reference that in the aforementioned Requirements section:
Good luck with your custom career!"
- in a specific rabbithole career / active career?
- with a specific relationship status (a married sim VS an engaged sim VS a single sim)?
- with a specific skill?
- etc.?
And I guess if the target sim no longer fits any of those requirements for whatever reason, after the opportunity has been accepted, then maybe the opportunity could disappear or something...?" (asked by simshai91 )
A.: MissyHissy replied: "There is, yes. You use the <Target> and <TargetData> values to make it work. I'll show you an example from my Basketball Career:
<OpportunitiesSetup>
<GUID>Basketball_ChallengeAccepted</GUID>
<Icon>Basketball_Pic_s</Icon>
<RepeatLevel>Always</RepeatLevel>
<EventListenerInfo1>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+PlayTogether+Definition,Sims3StoreObjects,1,1,Any</EventListenerInfo1>
<CompletionEvent>kWentToWork</CompletionEvent>
<Target>Sim</Target>
<TargetData>Stranger,Athletic,2,10</TargetData>
</OpportunitiesSetup>
<GUID>Basketball_ChallengeAccepted</GUID>
<Icon>Basketball_Pic_s</Icon>
<RepeatLevel>Always</RepeatLevel>
<EventListenerInfo1>kInteractionSuccess,Sims3.Store.Objects.BBallHoop+PlayTogether+Definition,Sims3StoreObjects,1,1,Any</EventListenerInfo1>
<CompletionEvent>kWentToWork</CompletionEvent>
<Target>Sim</Target>
<TargetData>Stranger,Athletic,2,10</TargetData>
</OpportunitiesSetup>
So here, the sim in the career needs to play Basketball with a stranger whose Athletic skill level is anywhere between level 2 and level 10. You can the cross-reference that in the Requirements section of the opportunity file.
Twallan wrote up some resources for this which I will include here (as a .docx document): Careers_Tutorial_Opportunities.zip (14.29 KB)
Another good example is in my Toy Maker career:
<OpportunitiesSetup>
<GUID>ToyMaker_NoRefusal</GUID>
<Icon>ToyMaker_Pic_s</Icon>
<CompletionEvent>kDeliveredToSim</CompletionEvent>
<Target>Sim</Target>
<TargetData>InCareer,Business</TargetData>
<TargetInteractionName>ToyMaker_PersuadeToSell</TargetInteractionName>
<TargetInteractionLikingToAccept>20</TargetInteractionLikingToAccept>
</OpportunitiesSetup>
And then here is my code to cross-reference that in the aforementioned Requirements section:
<OpportunitiesRequirements>
<GUID>ToyMaker_NoRefusal</GUID>
<Requirement1>WorldHasSimInCareer,Business</Requirement1>
</OpportunitiesRequirements>
Good luck with your custom career!"