TR_m4_TT_CrateRatMeat_sc
TR_Mainland.esm
Variables
1
Local Variables
doOnce
Source
1Begin TR_m4_TT_CrateRatMeat_sc
2
3; Script on container TR_m4_TT_CrateRatMeat for Bal Foyen Temple quest
4; TR_m4_TT_KitchenSupplies.
5
6short doOnce
7
8; This container is enabled only for the quest.
9
10if ( GetJournalIndex TR_m4_TT_KitchenSupplies >= 100 )
11 if ( GetDisabled == 0 )
12 Disable
13 endif
14 if ( doOnce == 1 )
15 set doOnce to 2
16 if ( GetDeadCount TR_m4_Vonos_Arendas <= 0 )
17 TR_m4_Vonos_Arendas->PositionCell 241 -131944 350 8000 "Bal Foyen"
18 TR_m4_Vonos_Arendas->AIWander 512 0 0 0
19 endif
20 endif
21elseif ( GetJournalIndex TR_m4_TT_KitchenSupplies >= 10 )
22 if ( GetDisabled == 1 )
23 Enable
24 endif
25 if ( doOnce == 0 )
26 set doOnce to 1
27 if ( GetDeadCount TR_m4_Vonos_Arendas <= 0 )
28 TR_m4_Vonos_Arendas->PositionCell 1400 -128410 100 16200 "Bal Foyen"
29 TR_m4_Vonos_Arendas->AIWander 0 0 0 0
30 endif
31 endif
32elseif ( GetDisabled == 0 )
33 Disable
34endif
35
36End