TR_m3_Hal_Skeleton_sc
TR_Mainland.esm
Variables
1
Local Variables
dead
Source
1Begin TR_m3_Hal_Skeleton_sc
2
3short dead
4
5; disable after Haliwaran is occupied by Indorils
6
7if ( TR_m3_Hal_TowerState == 2 )
8 if ( GetDisabled == 0 )
9 disable
10 return
11 else
12 return
13 endif
14elseif ( GetDisabled )
15 enable
16endif
17
18if ( dead == 1 )
19 return
20endif
21
22; die together with the necromancer
23if ( "TR_m3_Hal_TowerState" > 0 )
24 sethealth 0
25endif
26
27if ( OnDeath == 1 )
28 set dead to 1
29endif
30
31End