Scripts

TR_m3_NPC_OE_Prince_Ji

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
controlQ
once
T_Local_NPC
NoLore
T_Local_Khajiit
T_Local_NoLore
Source
1Begin TR_m3_NPC_OE_Prince_Ji 2 3short TR_Map 4short control 5short controlQ 6short once 7short T_Local_NPC 8short NoLore 9short T_Local_Khajiit 10short T_Local_NoLore 11 12if ( OnDeath ) 13 if ( GetJournalIndex "TR_m3_OE_AbductedAmbassador" > 0 ) 14 if ( GetJournalIndex "TR_m3_OE_AbductedAmbassador" < 100 ) 15 Journal "TR_m3_OE_AbductedAmbassador" 130 16 endif 17 endif 18endif 19 20if ( once == 0 ) 21 if ( GetJournalIndex "TR_m3_OE_AbductedAmbassador" == 45 ) 22 if ( CellChanged ) 23 if ( GetDeadCount "TR_m3_Urkhu" == 0 ) 24 "TR_m3_Urkhu"->PositionCell 747 685 -122 14820 "Ebon Tower, Elsweyr Mission" ; initial position 25 "TR_m3_Urkhu"->AIWander 0 0 20 10 0 0 0 0 20 0 0 0 26 "TR_m3_Urkhu"->SetFight 40 27 set "TR_m3_S'khara".madecheck to 0 28 set once to 1 29 endif 30 endif 31 endif 32endif 33 34 35if ( TR_Map == 3 ) 36 return 37endif 38 39set TR_Map to 3 40set T_Local_Khajiit to 1 41 42End