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