How to detect if Tamriel Rebuilt is installed?

Post » Tue Aug 02, 2011 9:18 pm

So, I want to make a quest and dialog that have references to something in Tamriel Rebuilt. But, if Tamriel Rebuilt isn't installed I want that part of the dialog to not display. Is there a good way to detect if Tamriel Rebuilt is active?

Related question, is there a way to detect if a player has read a certain book? Not just has the book in their inventory, but rather has read the book at some point.
User avatar
Cat
 
Posts: 3451
Joined: Mon Dec 18, 2006 5:10 am

Post » Wed Aug 03, 2011 12:31 am

For the first question, I don't know of anything off the top of my head. For the second, you could use a script attached to the book to set a variable upon activation. That is the only way I know to detect a book read, or at least, opened. The variable could be global, which would probably be the easiest way to handle it, or you could have it change a variable in the script the needs to detect it, but that gets a bit more complicated.

Edit: If TR has any global scripts that never stop, you could check for them.
User avatar
steve brewin
 
Posts: 3411
Joined: Thu Jun 21, 2007 7:17 am


Return to III - Morrowind

cron