Scripts

TR_m1_q_Shavra_Gra

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
finished
T_Local_NPC
NoLore
Source
1Begin TR_m1_q_Shavra_Gra 2 3; This script is on NPC TR_m1_Shavra_gra-Vatok and controls her behavior in the 4; quest "Escort to Tel Ouada". 5; This script was formerly called TR_m1_NPC_Shavra_Gra-vatok. I have renamed it due 6; to the problems that dashes can cause in script names (at least in OpenMW). 7; -- arvisrend, 29 May 2013 8 9short TR_Map 10short control 11short finished 12short T_Local_NPC 13short NoLore 14 15If ( GetJournalIndex TR_m1_wil_EscortToTO == 20 ) 16 if ( OnDeath == 1 ) 17 Journal TR_m1_wil_EscortToTO 31 18 endif 19 if ( GetPCCell "Tel Ouada" == 1 ) 20 Forcegreeting 21 endif 22 return 23endif 24 25if ( GetJournalIndex TR_m1_wil_EscortToTO == 30 ) 26 if ( CellChanged == 1 ) 27 disable ;don't want them hanging around Tel Ouada forever 28 endif 29 return 30endif 31 32if ( TR_Map == 1 ) 33 return 34endif 35 36set TR_Map to 1 37 38End