Scripts

TR_m2_Narrusa

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
state
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m2_Narrusa 2; This script is placed on "TR_m2_Narrusa Darythi", the mad lord of Helnim 3;state variable shows mental state 1 = delusional, 2 = confrontational, 4;3 = ignoring PC, 4 = just plain bonkers 5 6short TR_Map 7short control 8short controlQ 9short state 10short NoLore 11short T_Local_NPC 12short T_Local_NoLore 13 14if ( TR_Map != 2 ) 15 set TR_Map to 2 16endif 17 18if ( MenuMode == 0 ) 19 if ( Random100 <= 25 ) 20 set state to 1 21 elseif ( Random100 <= 50 ) 22 set state to 2 23 elseif ( Random100 <= 75 ) 24 set state to 3 25 else 26 set state to 4 27 endif 28endif 29 30End