The relationship command is the longest code in The Sims 4. It asks for the full names of two Sims, a value and the relationship type, in that order. The most common mistake is the spelling of names, since a single wrong letter stops the command from working. Type the names into the generator on this page and it builds the command in the right order. Give a negative value and the relationship goes the other way, so the same command can also turn two Sims into enemies.
Type the names of two Sims, then pick the value and the relationship type. We build the long command for you.
modifyrelationship {sim1} {sim2} {deger} {tur}
Enter the names exactly as they are spelled in the game. A single wrong letter stops the command from working.
Relationship cheats
7 codes
7 codes listed
We could not find that code in this category. You can check all codes.
Makes two Sims best friends instantly
modifyrelationship Bella Goth Bob Pancakes 100 LTR_Friendship_Main
The command asks for the full names of two Sims, the value and the relationship type, in that order. A value of 100 fills the friendship bar.
Type testingcheats true in the console.
Type modifyrelationship followed by the first Sim's first and last name.
Then type the second Sim's first and last name.
Type the value and LTR_Friendship_Main, then press Enter.
Names must match the in-game spelling exactly. A single wrong letter stops the command from working.
needs testingcheats truePC, Mac, PlayStation, Xbox
Makes two Sims fall in love instantly
modifyrelationship Bella Goth Bob Pancakes 100 LTR_Romance_Main
Fills the romance bar. Every interaction up to a marriage proposal unlocks.
For romance to work, the friendship bar also needs to be full, so use both commands together.
needs testingcheats truePC, Mac, PlayStation, Xbox
Turns two Sims into enemies
modifyrelationship Bella Goth Bob Pancakes -100 LTR_Friendship_Main
A negative value pushes the relationship the other way. -100 makes the two Sims sworn enemies.
needs testingcheats truePC, Mac, PlayStation, Xbox
Brings a Sim and their pet closer
modifyrelationship Bella Goth Rex Goth 100 LTR_SimToPet_Friendship_Main
Fills the bond between a Sim and their cat or dog. Requires the Cats & Dogs pack.
needs testingcheats trueCats & DogsPC, Mac, PlayStation, Xbox
Creates a ready-made friend for a Sim
relationships.create_friends_for_sim
Generates a random friend for the selected Sim and sets up the relationship. Quickly fills the social circle of a new household.
needs testingcheats truePC, Mac, PlayStation, Xbox
Introduces a Sim to everyone on the map
relationship.introduce_sim_to_all_others
Your Sim will have met every Sim in the world. A handy shortcut if you do not want to waste time on introductions.
needs testingcheats truePC, Mac, PlayStation, Xbox
Shows a Sim's ID number
sims.get_sim_id_by_name Bella Goth
Some advanced commands ask for an ID number instead of a name. This command prints the number you need in the console.
needs testingcheats truePC, Mac
Relationship cheats: Common questions
How do I make two Sims fall in love?
In the console, run modifyrelationship with LTR_Romance_Main and a value of 100. For romance to work, the friendship bar also needs to be full, so run the same command once more with LTR_Friendship_Main.
Why does modifyrelationship not work?
Almost always because of how the names are spelled. Both Sims' first and last names must match the in-game spelling exactly, and the order matters too. First the first Sim's first and last name, then the second Sim's first and last name, then the value and the relationship type.
Can I make Sims enemies?
Yes, just give a negative value. Type -100 and the two Sims become sworn enemies. The same method works on the romance bar, which helps when you want to end a relationship.
Is there a relationship code for pets?
There is, but it needs the Cats & Dogs pack. Use LTR_SimToPet_Friendship_Main as the relationship type and enter the pet's name like a second Sim, as a first and last name.