Update 'Time'

via 2022-08-23 12:49:18 +00:00
parent 93425d9b46
commit 2b6f8e7bc4
1 changed files with 27 additions and 0 deletions

27
Time.md Normal file

@ -0,0 +1,27 @@
# Time Shift Example
Serverside Trigger Activation field:
```
_date = date;
_date set [3,04];
_date set [4,05];
[] remoteExec ["MyTimeFadeFunction"];
_date spawn {sleep 3; setdate _this;};
```
Init.sqf has a function defined:
```
MyTimeFadeFunction = {
cuttext ["","black out", 2];
1 fadesound 0;
sleep 3;
["0400 Local Time"] spawn BIS_fnc_infoText;
2 fadesound 1;
sleep 3;
cuttext ["","black in", 2];
};
```