OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: loki72 on 03 Aug 2008, 16:14:56
-
greetings,
curious,
if i have a script running in the background of my machine.. connected to any other map.. how do i:
1. check to see, and store the current missions date/time?
2. and if, through another script, i change the current missions date/time to a different date/time (local) by.. setDate [1999,12,22,1,59];how do i set the (local) date/time back to the original missions date/time when i am finished looking at the full moon?
maybe this is a MP question...
thx
-
_now = date;
setDate [1999,12,22,1,59];
sleep 60;
setDate _now;
-
:D
works like a charm!
thanks spooner.