Scripts

TR_m3_AT_InfirmaryNPC_1

TR_Mainland.esm
Variables 5
Local Variables
nolore
T_Local_NoLore
TR_Map
done
T_Local_NPC
Source
1Begin TR_m3_AT_InfirmaryNPC_1 2 3short nolore 4short T_Local_NoLore 5short TR_Map 6short done 7short T_Local_NPC 8 9if ( MenuMode == 1 ) 10 return 11endif 12 13set TR_Map to 3 14 15if ( done == 0 ) 16 if ( GetHealth < 1 ) 17 SetParalysis 0 18 SetFatigue 0 19 set done to 1 20 return 21 endif 22 setfatigue -200 23 if ( GetParalysis == 0 ) 24 SetParalysis 0 25 elseif ( Random100 > 66 ) 26 SetParalysis 0 27 endif 28else 29 if ( OnActivate == 1 ) 30 Activate 31 endif 32endif 33 34PositionCell 210 -249 -250 7500 "Almas Thirr, Infirmary of St. Meris" 35 36if ( OnActivate == 1 ) 37 if ( GetPCSneaking == 1 ) 38 Activate 39 else 40 if ( Random100 > 66 ) 41 MessageBox "Folms Hiralas wheezes softly." 42 elseif ( Random100 > 33 ) 43 MessageBox "Folms Hiralas whimpers in pain." 44 else 45 MessageBox "Folms Hiralas is unconscious." 46 endif 47 endif 48endif 49 50End