TR_m4_TJ_Ogrim_sc
TR_Mainland.esm
Variables
2
Local Variables
duelStart
duelWon
Source
1Begin TR_m4_TJ_Ogrim_sc
2
3short duelStart
4short duelWon
5
6if ( OnDeath )
7 ; just to make sure the Clannfear get triggered
8 set TR_m4_TJ_OgrimStatus to 2
9endif
10
11if ( GetTarget player )
12 if ( TR_m4_TJ_OgrimStatus != 1 )
13 set TR_m4_TJ_OgrimStatus to 1
14 endif
15endif
16
17if ( duelWon )
18 ; if Dremora died
19 if ( duelStart <= 0 )
20 ; but if he never fought this guy
21 set duelWon to 0
22 ; the Ogrim didn't win the duel.
23 endif
24endif
25
26End