Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 7th Jun 2022 at 5:28 PM
Default 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 Old 7th Jun 2022 at 8:33 PM
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)

Test Subject
Original Poster
#3 Old 7th Jun 2022 at 9:07 PM
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
Back to top