Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
mr_centipede

About setDate command

Recommended Posts

Hi, I used a setDate command to randomize starting time of a mission, I works okay, just that whenever I finish the mission, the debriefing says mission time is 0min no matter how long i'm in mission.

Is the setDate bugged or I need to do something else? I just put the setDate command in my unit init field, but also happened if I put it in init.sqf

Share this post


Link to post
Share on other sites

0min!? You must be setting a date behind the actual date difference. If you choose a date after your mission editor set one (ie in the mission settings) you will have positive time.

I use setDate to set about 5 months ahead, and it is usually 'time passed' is around 5000minutes, so you could make a differential script that would work out the actual time passed, but I'm not sure how you could do that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×