Scripts

TR_m3_q_3_Balamus_sc

TR_Mainland.esm
Variables 5
Local Variables
dead
TR_Map
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_q_3_Balamus_sc 2 3;script on the regular Balamus Arthre in his house 4;his double TR_m3_q_3_Burglar is the version that enters the Vault 5 6short dead 7short TR_Map 8short NoLore 9short T_Local_NPC 10short T_Local_NoLore 11 12If ( dead == 1 ) 13 Return 14ElseIf ( OnDeath == 1 ) 15 set dead to 1 16Endif 17 18If ( GetHello == 30 ) ;if he's met in his house, 19 SetHello 29 ;records that the PC knows & can recognise him during the vault robbery 20Endif 21 22If ( GetDisabled == 0 ) 23 If ( TR_m3_q_3_thieving >= 2 ) ;his double was killed in the vault or he got captured 24 Disable 25 set dead to 1 26 Return 27 ElseIf ( TR_m3_q_3_thieving == 1 ) ;global set by the script TR_m3_q_3_global when he (his double) enters the Indoril Vault 28 Disable ;which means this copy doesn't exist 29 Endif 30Else 31 If ( TR_m3_q_3_thieving == 0 ) ;if he got away but somehow got loaded inbetween or someshit 32 Enable ;...make sure he's back 33 Endif 34Endif 35 36 37; regional filter & nolore 38 39if ( TR_Map == 3 ) 40 return 41endif 42 43set TR_Map to 3 44 45End