Sign in to follow this  
Aples

script that activate on nighttime only?

4 posts in this topic

how do i make that type of script? 

the idea is i want to change the existing zombies spawner module to different one after night time.

basically to make zombies RUN at night ;)

is it possible at all?

Share this post


Link to post
Share on other sites
Advertisement

28 days later zombie hordes at night is a cool idea. I use this, its not mine but it works for me. I only use it for night fog and day/night cycle though.

if (!isServer) exitWith {};

while {true} do
{
    if (daytime >= 18 || daytime < 6) then
    {
      // you can maybe exec the zombie stuff here
        setTimeMultiplier 12
    }
    else
    {
        setTimeMultiplier 4
    };


    uiSleep 30;
};

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.