TR_m4_Ando_FaulerDoorNoteScript
TR_Mainland.esm
Variables
1
Local Variables
OnPCAdd
Source
1Begin TR_m4_Ando_FaulerDoorNoteScript
2
3; Script making sure that the note on Hemmette's door is correctly disabled
4
5short OnPCAdd
6
7if ( MenuMode )
8 return
9endif
10
11if ( OnPCAdd == 1 ) ; don't disable if picked up once
12 return
13endif
14
15if ( TR_m4_Ando_HemmettePrison == 2 )
16 if ( GetDisabled )
17 Enable
18 return
19 endif
20elseif ( GetDisabled == 0 )
21 Disable
22endif
23
24End