nunciusClosetScript
Bloodmoon.esm
Variables
1
Local Variables
haskey
Source
1Begin nunciusClosetScript
2
3short haskey
4
5if ( OnActivate == 1 )
6 if ( player->GetItemCount key_nuncius == 0 )
7 if ( haskey == 0 )
8 if ( GetLocked == 0 )
9 MessageBox "Although the strange lock appears to have been disabled, this closet cannot open without the key."
10 else
11 MessageBox "The strange lock on this closet cannot be opened without the key."
12 endif
13 endif
14 elseif ( player->GetItemCount key_nuncius == 0 )
15 if ( haskey == 1 )
16 Activate
17 endif
18 else
19 Activate
20 set haskey to 1
21 endif
22endif
23
24
25End nunciusClosetScript