Scripts

TR_m2_q_Nm_Wake_logscript

TR_Mainland.esm
Variables 3
Local Variables
done
OnPCEquip
PCSkipEquip
Source
1Begin TR_m2_q_Nm_Wake_logscript 2 3; Adds the required topic no matter what, but only adds the journal entry if you got the hint to check the boat. this way you don't need to find the ledger again if you found it before getting the quest 4 5short done 6short OnPCEquip 7short PCSkipEquip 8 9if ( done == 1 ) 10 set PCSkipEquip to 0 11 return 12endif 13set PCSkipEquip to 1 14 15if ( GetJournalIndex TR_m2_Nm_Wake >= 20 ) 16 if ( onactivate == 1 ) 17 Journal TR_m2_Nm_Wake 21 18 addtopic "Orphaned Dancer" 19 set done to 1 20 activate 21 endif 22endif 23 24if ( GetJournalIndex TR_m2_Nm_Wake < 20 ) 25 if ( onactivate == 1 ) 26 addtopic "Orphaned Dancer" 27 set done to 1 28 activate 29 endif 30endif 31 32if ( GetJournalIndex TR_m2_Nm_Wake < 20 ) 33 if ( OnPCEquip == 1 ) 34 addtopic "Orphaned Dancer" 35 set done to 1 36 activate 37 endif 38endif 39 40 41if ( GetJournalIndex TR_m2_Nm_Wake >= 20 ) 42 if ( OnPCEquip == 1 ) 43 Journal TR_m2_Nm_Wake 21 44 set done to 1 45 activate 46 endif 47endif 48 49 50end