Changing text of a book dynamically

Post » Sun Jun 17, 2012 10:25 pm

Has anyone found a function to do this? Nothing came up either in the Book script or ObjectReference script, or searching through the wiki. Or is this a SKSE thing.
User avatar
zoe
 
Posts: 3298
Joined: Sun Nov 12, 2006 1:09 pm

Post » Sun Jun 17, 2012 5:39 pm

Do you want to change the entire text, one paragraph, or a number of specific words?
User avatar
Kate Schofield
 
Posts: 3556
Joined: Mon Sep 18, 2006 11:58 am

Post » Sun Jun 17, 2012 5:55 pm

Well I'll probably have a template like:

"Your account value is X, and you earned Y"

And change X and Y via a script.

The book or reference itself has variables and a script, so I could get the values from that?
User avatar
Lucie H
 
Posts: 3276
Joined: Tue Mar 13, 2007 11:46 pm

Post » Sun Jun 17, 2012 9:58 pm

I believe you would use an Alias here. It's how they do bounty letters. It says something like (I'm not familiar with the actual code, I have yet to look into that) "Hurry! All residents of , and kill the bandits before it's too late! They are hiding out in ." Or something. I'm sure you could easily do something similiar with variables so a book changes dynamically in realtime. (Each time it's opened, maybe not right as you're staring at it.)
User avatar
ruCkii
 
Posts: 3360
Joined: Mon Mar 26, 2007 9:08 pm


Return to V - Skyrim