Jump to content
crazyrobban

Darkness inside house during the day?

Recommended Posts

Is it possible to create a shoot house that requires flashlights or NVG that could be played during the day?

I'm guessing no, but if someone has an idea, do tell. :) 

 

I've created a training camp for me and my friends, and would like to have it as an option.
The alternative is to have a function just outside the house to skip 12 hours, which (I'm sure) would be properly mistreated... 

Share this post


Link to post
Share on other sites

Perhaps:

// In the init line of one of the objects near the entrance of the shoot house
this addAction ["Make dight", "night.sqf"];
this addAction ["Make day", "day.sqf"];

// Night.sqf
setDate [2035, 1, 1, 0, 0];

// Day.sqf
setDate [2035, 1, 1, 12, 0];

Share this post


Link to post
Share on other sites

Found something similar, but that's an excellent idea! 
Hopefully, it works properly in mp. :) 

I'll try it out and let you know.

Share this post


Link to post
Share on other sites

Hopefully, it works properly in mp. :)

 

Unfortunately its cant works well in MP.

The command setDate  need to be run on server not client.

Try this instead:

this addAction ["Make night", "[[2035, 1, 1, 0, 0],true,false] remoteExecCall ['BIS_fnc_setDate', 2, false]"];
this addAction ["Make day", "[[2035, 1, 1, 12, 0],true,false] remoteExecCall ['BIS_fnc_setDate', 2, false]"];

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×