Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scn F3NVDNightsScript
- float fTimer
- float fQuestDelayTime
- short sDonce1
- short sDonce2
- float Time
- Begin gamemode
- set Time to GetCurrentTime
- If DNightsSwitch == 1 && player.getinworldspace WastelandNV == 1
- SetQuestDelay F3NVDarkN 0.01
- if ( Time >= 0.00 && Time < 1.00 )
- If ( sDonce1 == 0 )
- if NightSetting == 1 && IsImageSpaceActive F3NVISN2 == 0
- imod F3NVISN2FadeIn
- elseif NightSetting == 2 && IsImageSpaceActive F3NVISN3 == 0
- imod F3NVISN3FadeIn
- elseif NightSetting == 3 && IsImageSpaceActive F3NVISN4 == 0
- imod F3NVISN4FadeIn
- endif
- set fTimer to 48
- set sDonce1 to 1
- set sDonce2 to 0
- endif
- if ( fTimer > 0 )
- set fTimer to fTimer - getSecondsPassed
- else
- if NightSetting == 1 && IsImageSpaceActive F3NVISN2 == 0
- rimod F3NVISN3
- rimod F3NVISN4
- imod F3NVISN2
- elseif NightSetting == 2 && IsImageSpaceActive F3NVISN3 == 0
- rimod F3NVISN2
- rimod F3NVISN4
- imod F3NVISN3
- elseif NightSetting == 3 && IsImageSpaceActive F3NVISN4 == 0
- rimod F3NVISN2
- rimod F3NVISN3
- imod F3NVISN4
- endif
- endif
- elseif ( Time >= 1.00 && Time < 5.00 )
- if NightSetting == 1 && IsImageSpaceActive F3NVISN2 == 0
- rimod F3NVISN3
- rimod F3NVISN4
- imod F3NVISN2
- elseif NightSetting == 2 && IsImageSpaceActive F3NVISN3 == 0
- rimod F3NVISN2
- rimod F3NVISN4
- imod F3NVISN3
- elseif NightSetting == 3 && IsImageSpaceActive F3NVISN4 == 0
- rimod F3NVISN2
- rimod F3NVISN3
- imod F3NVISN4
- endif
- set sDonce1 to 1
- set sDonce2 to 0
- endif
- endif
- If DNightsSwitch == 1 && player.getinworldspace WastelandNV == 1
- if ( Time >= 6.00 && Time < 23.59 )
- rimod F3NVISN2
- rimod F3NVISN3
- rimod F3NVISN4
- set sDonce2 to 1
- set sDonce1 to 0
- elseif ( Time >= 5.00 && Time < 23.59 )
- If ( sDonce2 == 0 )
- if NightSetting == 1 && IsImageSpaceActive F3NVISN2 == 1
- rimod F3NVISN2
- imod F3NVISN2FadeOut
- elseif NightSetting == 2 && IsImageSpaceActive F3NVISN3 == 1
- rimod F3NVISN3
- imod F3NVISN3FadeOut
- elseif NightSetting == 3 && IsImageSpaceActive F3NVISN4 == 1
- rimod F3NVISN4
- imod F3NVISN4FadeOut
- endif
- SetQuestDelay F3NVDarkN 0
- set sDonce2 to 1
- set sDonce1 to 0
- endif
- endif
- endif
- If ( DNightsSwitch == 0 )
- SetQuestDelay F3NVDarkN 0
- rimod F3NVISN2
- rimod F3NVISN3
- rimod F3NVISN4
- set sDonce2 to 0
- set sDonce1 to 0
- endif
- If player.getinworldspace WastelandNV == 0
- SetQuestDelay F3NVDarkN 0
- rimod F3NVISN2
- rimod F3NVISN3
- rimod F3NVISN4
- endif
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement