Items and Journal Entries

Post » Sat May 28, 2011 3:27 am

How do I set up an item to trigger a journal entry when it's picked up?
User avatar
Sandeep Khatkar
 
Posts: 3364
Joined: Wed Jul 18, 2007 11:02 am

Post » Sat May 28, 2011 5:06 am

Do you have MWSFD?

It's very helpful - the first tutorial explains how to make a script to do what you want

Begin my_first_scriptIf ( OnActivate == 1 ); here we will enter what happens when the chest is openedendifEnd


Except for picking up an item you would want it to read

Begin my_first_scriptIf ( OnActivate == 1 )    Journal "My_Journal" 5 ;where 5 = whatever journal index entry you want addedendifEnd


Alternatively you could have a greeting set which checks to see if you have the item - it would need a unique Id - then if you are carrying the item someone can greet you and recognise the item you have and in the results box you would add Journal My_Journal 5
User avatar
CHangohh BOyy
 
Posts: 3462
Joined: Mon Aug 20, 2007 12:12 pm

Post » Sat May 28, 2011 8:49 am

Do you have MWSFD?

It's very helpful - the first tutorial explains how to make a script to do what you want

Begin my_first_scriptIf ( OnActivate == 1 ); here we will enter what happens when the chest is openedendifEnd


Except for picking up an item you would want it to read

Begin my_first_scriptIf ( OnActivate == 1 )    Journal "My_Journal" 5 ;where 5 = whatever journal index entry you want addedendifEnd


Alternatively you could have a greeting set which checks to see if you have the item - it would need a unique Id - then if you are carrying the item someone can greet you and recognise the item you have and in the results box you would add Journal My_Journal 5


Awesome, thank you very much.
User avatar
Haley Merkley
 
Posts: 3356
Joined: Sat Jan 13, 2007 12:53 pm


Return to III - Morrowind