Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Begin Container_Week_sct ; скрипт кладем на контейнер chest_1
- short currentDay
- short Week
- if ( CurrentDay != Day )
- set CurrentDay to Day
- set week to week + 1
- elseif ( Week == 7 )
- set Week to 0
- additem misc_1 1
- additem misc_2 1
- endif
- END
- __________________________________
- Begin Random_sct ; вешаем на НПЦ, который должен исчезать
- short rand
- short Once
- if ( GEtPCCell CELLID ) ; CELLID - локация, где размещен НПЦ
- set Once to 1
- if ( Once )
- set rand to random 2
- set Once to 0
- elseif ( rand )
- disable
- endif
- else
- enable
- endif
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement