- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Add condition to phone interaction
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Discussion >
- Add condition to phone interaction
Replies: 2 (Who?), Viewed: 363 times.
#1
7th Jun 2022 at 5:28 PM
Posts: 2
Add condition to phone interaction
Hi!I'm trying to create a mod with new skills.
In a certain level of the skill, I'd like to unlock an interaction on the phone to attend to a class in a rabbit hole.
Skill works great and so do the rabbit hole.
I've tried many things to lock the interaction with a skill test but it still appear even if my sim doesn't have the required skill.
I've taken the phoneFame_CelebrityCleanse interaction tuning to do so and made my changes.
Could someone tell me what I am doing wrong please?
I'm french by the way, I apologize for my non perfect english
Code:
<L n="test_autonomous"> <L> <V t="location"> <U n="location"> <U n="location_tests"> <V n="is_venue_type" t="enabled"> <U n="enabled"> <T n="negate">True</T> <T n="venue_type">111611<!--venue_HiddenAlienWorld--></T> </U> </V> </U> </U> </V> </L> </L> <L n="test_globals"> <V t="test_set_reference"> <T n="test_set_reference">237832<!--testSet_PhoneInteractions_CanUsePhone--></T> </V> <V t="sim_info"> <U n="sim_info"> <V n="ages" t="specified"> <L n="specified"> <E>TEEN</E> <E>YOUNGADULT</E> <E>ADULT</E> <E>ELDER</E> </L> </V> <V n="species" t="specified"> <U n="specified"> <L n="species"> <E /> </L> </U> </V> <E n="who">Actor</E> </U> </V> </L> <L n="tests"> <L> <V t="skill_test"> <U n="skill_test"> <T n="skill">17695853974315205662<!--Competence_Technique--></T> <V n="skill_range" t="interval"> <U n="interval"> <U n="skill_interval"> <T n="lower_bound">1</T> <T n="upper_bound">5</T> </U> </U> </V> <V n="tooltip" t="enabled"> <T n="enabled">0x0FEE98FE<!--La compĂ©tence doit ĂȘtre acquise!--></T> </V> </U> </V> </L> </L>
Advertisement
Field Researcher
#2
7th Jun 2022 at 8:33 PM
Posts: 265
Thanks: 3716 in 35 Posts
Does using threshold change anything?
(code bbcode never looks right for me so here's in image format just in case)
Code:
<V n="skill_range" t="threshold"> <U n="threshold"> <U n="skill_threshold"> <E n="comparison">GREATER</E> <T n="value">1</T> </U> </U> </V> <T n="use_effective_skill_level">False</T>
(code bbcode never looks right for me so here's in image format just in case)
#3
7th Jun 2022 at 9:07 PM
Posts: 2
Quote: Originally posted by baniduhaine
Does using threshold change anything?
Code:
<V n="skill_range" t="threshold"> <U n="threshold"> <U n="skill_threshold"> <E n="comparison">GREATER</E> <T n="value">1</T> </U> </U> </V> <T n="use_effective_skill_level">False</T> (code bbcode never looks right for me so here's in image format just in case) |
Thank you so much!!! :lovestruc
It worked!! I was stuck for 4 days, I'm so grateful :D
Who Posted
|