TR_m7_ussiran_herds_sc
TR_Mainland.esm
Variables
3
Local Variables
attackstate
OnPCHitMe
timer
Source
1Begin TR_m7_ussiran_herds_sc
2
3float timer
4short attackstate
5short OnPCHitMe
6
7if ( OnPCHitMe == 1 )
8 set attackstate to 1
9 set OnPCHitMe to 0
10endif
11
12if ( attackstate == 1 )
13 StartCombat player
14 set timer to ( timer + GetSecondsPassed )
15 if ( timer >= 1 )
16 set timer to 0
17 if ( GetDeadCount "TR_m7_Asuzul" == 0 )
18 "TR_m7_Asuzul"->StartCombat Player
19 endif
20 if ( GetDeadCount "TR_m7_Pahabamsu" == 0 )
21 "TR_m7_Pahabamsu"->StartCombat Player
22 endif
23 if ( GetDeadCount "TR_m7_Kiner-Ilu Ubasel" == 0 )
24 "TR_m7_Kiner-Ilu Ubasel"->StartCombat Player
25 endif
26 set attackstate to 0
27 endif
28endif
29
30End