Having trouble grasping procedure for text replacement...

Post » Wed Jun 20, 2012 9:55 pm

I've been reading and reading and searching threads and the wiki.

I get a few of the concepts required to do what I want, but I'm stuck. Someone please tell me in more specific detail what I need to do...

I have a quest where a player will make several selections.
These choices are strings and kept in an array.

I understand I cannot actually replace the text of the buttons in a messagebox, but from reading, I saw where I could do something acceptable:
Using Text Replacement and aliases, my message form text would be something like this: (1) , (2) , (3) where buttons 0, 1, and 2 are labeled 1, 2, and 3.

Depending on the user's choice, they'd see: (1) ABC, (2) LMN, (3) XYZ.

So... someone in the know got a few minutes to write out some instructions? Or is a tutorial dealing specifically with Text Replacement I haven't been able to find?

Like, what parameters in the alias dialog do I need to tick? Do I need conditions? How would I pass the string value from my array to the alias?

Thanks!
User avatar
SiLa
 
Posts: 3447
Joined: Tue Jun 13, 2006 7:52 am

Post » Thu Jun 21, 2012 3:06 am

I don't believe you actually could use plain Strings, as I understand you intend, in text replacement because I believe they can't fill an alias and you need an alias as the source of the text and they can be filled with ObjectReference/Actor/Location. I used text replacement in my soul gems mod (see signature) and if you end up with a particular problem I'll try to help you.
User avatar
Julia Schwalbe
 
Posts: 3557
Joined: Wed Apr 11, 2007 3:02 pm


Return to V - Skyrim