Scripts

TR_m1_q50_GO1_Trena_scpt

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
NoLore
state
startme
T_Local_NPC
T_Local_NoLore
timer
Source
1Begin TR_m1_q50_GO1_Trena_scpt 2 3short TR_Map 4short control 5short NoLore 6short state 7float timer 8short startme 9short T_Local_NPC 10short T_Local_NoLore 11 12if ( startme == 0 ) 13 if ( GetDisabled == 0 ) 14 disable 15 endif 16endif 17 18if ( startme == 0 ) 19 return 20endif 21 22if ( MenuMode ) 23 Return 24endif 25 26if ( GetDisabled ) 27 if ( timer > 3 ) 28 SetDelete 1 29 Return 30 endif 31 set timer to ( timer + GetSecondsPassed ) 32 Return 33endif 34 35if ( control == 10 ) 36 if ( CellChanged ) 37 disable 38 endif 39endif 40 41if ( OnDeath ) 42 Journal TR_m1_GO_1 210 43 StartScript TR_m1_q50_GO1_gscpt 44endif 45 46if ( state == 0 ) 47 set TR_Map to 1 48 set state to 1 49elseif ( state == 1 ) 50 if ( timer > 0.5 ) 51 ForceGreeting 52 set state to 2 53 set timer to 0 54 endif 55 set timer to ( timer + GetSecondsPassed ) 56endif 57 58End