TR_m4_TJ_OndrasA_sc
TR_Mainland.esm
Variables
5
Local Variables
control
controlQ
speaker
killed
doOnce
Source
1Begin TR_m4_TJ_OndrasA_sc
2
3short control
4short controlQ
5short speaker
6short killed
7short doOnce
8
9if ( MenuMode )
10 Return
11endif
12
13if ( OnDeath )
14 set TR_m4_TJ_IndSpiritKill to ( TR_m4_TJ_IndSpiritKill + 1 )
15endif
16
17if ( GetJournalIndex "TR_m7_HH_GM_4b" == 50 )
18 sethealth 0
19endif
20
21if ( control == 0 )
22 if ( player->GetPCRank "T_Mw_HouseIndoril" >= 0 )
23 set control to 1
24 setfight 30
25 stopcombat
26 elseif ( TR_m3_TT_SpeakerState == 1 )
27 set control to 1
28 setfight 30
29 stopcombat
30 endif
31endif
32
33End