|
Post by redrum on Sept 3, 2019 18:39:37 GMT -5
Hey guys, does anyone know how to make an interaction refer to the sim that did the interaction. For example, for the phone, I have a "create account" interaction, and following that is a notification that says that they created it, but all it says when it pops up is, "has created an account!" I know about using {0.SimFirstName}, but that doesn't seem to work. Am I missing something?
|
|
|
Post by sigma1202 on Sept 3, 2019 21:00:14 GMT -5
Do you have this snippet inside your XML?
<U n="display_name_text_tokens"> <L n="tokens"> <V t="participant_type"> <U n="participant_type"> <E n="participant">Actor</E> </U> </V> <V t="participant_type"> <U n="participant_type"> <E n="participant">Object</E> </U> </V> </L> </U>
If not you will need to add it, it should go right under <T n="display_name">0x624DB922<!--text--></T> (this is an example)
so the final version should look like:
<T n="display_name">0x624DB922<!--Haunted House.--></T> <U n="display_name_text_tokens"> <L n="tokens"> <V t="participant_type"> <U n="participant_type"> <E n="participant">Actor</E> </U> </V> <V t="participant_type"> <U n="participant_type"> <E n="participant">Object</E> </U> </V> </L> </U>
|
|
|
Post by redrum on Sept 4, 2019 22:17:41 GMT -5
The only text that is in the XML that I modeled mine after is this
<?xml version="1.0" encoding="utf-8"?> <I c="LootActions" i="action" m="interactions.utils.loot" n="loot_Notification_Nanny_Introduction" s="143703"> <L n="loot_actions"> <V t="notification_and_dialog"> <U n="notification_and_dialog"> <V n="dialog" t="notification"> <U n="notification"> <V n="icon" t="enabled"> <V n="enabled" t="participant"> <U n="participant"> <L n="participant_type"> <E>Actor</E> </L> </U> </V> </V> <V n="text" t="single"> <T n="single">0x112285D9<!--Hi there! My name is Nanny {0.SimLastName}, nice to meet you!\n\nI am sensibly sufficient in every way. I can play, cook, and mentor!\n\nAnd yes, I’m not opposed to changing diapers and cleaning up messes, if needed. Let’s have a fun day together!--></T> </V> <E n="visual_type">SPEECH</E> </U> </V>
In game when it's used normally, it has the last name actually inputted, but when I have my custom notification that refers to the actor sim's first name pop up, it just leaves a blank.
|
|