TR_NecMQ_UndeadTherasScript
TR_Mainland.esm
Variables
1
Local Variables
controlQ
Source
1Begin TR_NecMQ_UndeadTherasScript
2
3; this short script makes the spirits, bonewalkers & bonelords in Theras Ancestral Tomb peaceful
4; 6+
5
6Short controlQ
7
8if ( MenuMode == 1 )
9 Return
10endif
11
12if ( controlQ == 10 )
13 Return
14
15; when the quest is over, raise the fight ratings again
16
17elseif ( controlQ == 1 )
18 if ( GetJournalIndex TR_NecMQ_Destroyer < 110 )
19 Return
20 else
21 SetFight 100
22 Set controlQ to 10
23 endif
24
25; if the player has started the quest and was granted access, lower the fight ratings
26
27elseif ( controlQ == 0 )
28 if ( GetJournalIndex TR_NecMQ_Destroyer < 70 )
29 Return
30 elseif ( GetJournalIndex TR_NecMQ_Destroyer >= 75 )
31 if ( GetJournalIndex TR_NecMQ_Destroyer < 90 )
32 SetFight 0
33 endif
34 Set controlQ to 1
35 endif
36endif
37
38End TR_NecMQ_UndeadTherasScript