Scripts

TR_m3_NPC_MaShavir

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_Khajiit
NoLore
timer
Source
1Begin TR_m3_NPC_MaShavir 2; Ma'Shavir is the Khajiit receptionist at the Old Ebonheart agency of the East Empire Company. 3;Ohmes-raht 4 5short TR_Map 6short control 7short controlQ 8short T_Local_NPC 9short T_Local_Khajiit 10short NoLore 11;global TR_m3_EEC_RansomRequested ;if 1, means Yontus has been kidnapped and the boss got the news 12 13if ( MenuMode ) 14 return 15endif 16 17if ( TR_Map != 3 ) 18 set TR_Map to 3 19 set T_Local_Khajiit to 1 20endif 21 22if ( GetHealth == 0 ) 23 return 24endif 25 26if ( TR_m3_EEC_RansomRequested == 0 ) 27 return 28endif 29 30if ( controlQ ) 31 return 32endif 33 34if ( GetDistance "Player" > 500 ) 35 return 36endif 37 38float timer 39 40set timer to timer + GetSecondsPassed 41 42if ( timer < 0.75 ) 43 return 44endif 45 46ForceGreeting ;boss wants to see you, pronto! 47set controlQ to 1 48 49End