FO3Phalanx Posted August 18, 2017 Share Posted August 18, 2017 I have a unique actor in game with a REF and I need to persistently change its visible name in the world via a quest script. I'm reading around, and seeing that it apparently requires utilizing a quest alias (which I note in the GUI does have a dropdown for a different display name) and scripting that calls a ForceRefTo with the messagebox (the title of your messagebox has the name that you want to force over to the actor). If this really is the right way to do it, I'm not getting it right. Maybe I'm misunderstanding the directions I'm attempting to follow?. I'm getting compile errors like "variable Alias_GetNameFrom is undefined". Could someone show me some working code of what this should look like, or point me toward a spot in Fallout 4 where this is done? (Also, I'm fairly new to Papyrus (not new to the old Fallout 3 scripting), mentioning in case you wanted to explain stuff, as it's going to be easy to go over my head at this point). Link to comment Share on other sites More sharing options...
JonathanOstrus Posted August 19, 2017 Share Posted August 19, 2017 Well I haven't scripted in FO3 but from what I understand the scripting is significantly different. First off, the message type is *not* a message box. It's a regular message. You can look at an example DogmeatNameMSG "Dogmeat" to see how it should look. That one is the one used to change Dogmeat's name from "Dog" to "Dogmeat" after the appropriate quest stage with Mama Murphy. As for your compile errors, I'd need to see the code. Or more specifically where it is. Are you trying to put your ForceRefTo script code in a quest fragment, a separate object's script, or somewhere like a dialogue topic fragment? On your quest you would create the alias (which it sounds like you did). If you're trying to use the alias in a stage fragment then you will need to click the little arrow next to the properties button under the edit box and choose the alias to add as a property. Once that is done you can access the ReferenceAlias with the Alias_Name format. If the true name of your alias is "TheDog" then the property created will be "Alias_TheDog" and you would set the reference with Alias_TheDog.ForceRefTo(SomeREF). Link to comment Share on other sites More sharing options...
Recommended Posts