Scripts

TR_m4_orlukh_cattleScript

TR_Mainland.esm
Variables 14
Local Variables
nolore
TR_Map
control
controlQ
NoHello
NoFlee
NoIdle
NoIntruder
NoThief
T_Local_NPC
T_Local_NoLore
T_Local_Khajiit
OnPCHitme
AiSet
Source
1Begin TR_m4_orlukh_cattleScript 2 3short nolore 4short TR_Map 5short control 6short controlQ 7 8short NoHello 9short NoFlee 10short NoIdle 11short NoIntruder 12short NoThief 13short T_Local_NPC 14short T_Local_NoLore 15short T_Local_Khajiit 16 17short OnPCHitme 18short AiSet 19 20if ( menumode == 1 ) 21 return 22endif 23 24if ( AiSet == 0 ) 25 setfight 20 26 setflee 100 27 set AiSet to -1 28endif 29 30if ( PCVampire != 1 ) 31 return 32endif 33 34if ( VampClan == 101 ) 35 if ( GetJournalIndex "TR_m4_VA_Propylon" == 200 ) 36 if ( OnPCHitMe == 1 ) 37 SetFight 0 38 SetFlee 0 39 StopCombat 40 endif 41 endif 42endif 43 44if ( T_Local_Khajiit == 0 ) 45 set T_Local_Khajiit to -1 46 47 if ( GetRace "T_Els_Cathay" ) 48 set T_Local_Khajiit to 1 49 elseif ( GetRace "T_Els_Cathay-raht" ) 50 set T_Local_Khajiit to 1 51 elseif ( GetRace "T_Els_Dagi-raht" ) 52 set T_Local_Khajiit to 1 53 elseif ( GetRace "T_Els_Ohmes" ) 54 set T_Local_Khajiit to 1 55 elseif ( GetRace "T_Els_Ohmes-raht" ) 56 set T_Local_Khajiit to 1 57 elseif ( GetRace "T_Els_Suthay" ) 58 set T_Local_Khajiit to 1 59 elseif ( GetRace "T_Els_Tojay" ) 60 set T_Local_Khajiit to 1 61 elseif ( GetRace "Khajiit" ) 62 set T_Local_Khajiit to 1 63 endif 64endif 65 66set TR_Map to 4 67 68End